vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Thu Jul 23 20:58:14 2015 +0300| [f677708355be7742b59c7b0c68dffdebc8cbf05b] | committer: Rémi Denis-Courmont
record: remove peek callback > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f677708355be7742b59c7b0c68dffdebc8cbf05b --- modules/stream_filter/record.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/modules/stream_filter/record.c b/modules/stream_filter/record.c index 8bcef68..9b1aeee 100644 --- a/modules/stream_filter/record.c +++ b/modules/stream_filter/record.c @@ -65,7 +65,6 @@ struct stream_sys_t * Local prototypes ****************************************************************************/ static int Read ( stream_t *, void *p_read, unsigned int i_read ); -static int Peek ( stream_t *, const uint8_t **pp_peek, unsigned int i_peek ); static int Control( stream_t *, int i_query, va_list ); static int Start ( stream_t *, const char *psz_extension ); @@ -89,7 +88,6 @@ static int Open ( vlc_object_t *p_this ) /* */ s->pf_read = Read; - s->pf_peek = Peek; s->pf_control = Control; stream_FilterSetDefaultReadDir( s ); @@ -137,11 +135,6 @@ static int Read( stream_t *s, void *p_read, unsigned int i_read ) return i_record; } -static int Peek( stream_t *s, const uint8_t **pp_peek, unsigned int i_peek ) -{ - return stream_Peek( s->p_source, pp_peek, i_peek ); -} - static int Control( stream_t *s, int i_query, va_list args ) { if( i_query != STREAM_SET_RECORD_STATE ) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
