Mercurial > mplayer.hg
diff libmpdemux/tv.c @ 2931:bce9c945b29c
tv interface update
author | alex |
---|---|
date | Fri, 16 Nov 2001 21:30:10 +0000 |
parents | aebdcb39cadb |
children | fa3224774679 |
line wrap: on
line diff
--- a/libmpdemux/tv.c Fri Nov 16 21:14:38 2001 +0000 +++ b/libmpdemux/tv.c Fri Nov 16 21:30:10 2001 +0000 @@ -3,7 +3,7 @@ API idea based on libvo2's - UNDER HEAVY DEVELOPEMENT, DO NOT USE! :) + UNDER HEAVY DEVELOPEMENT, NO FEATURE REQUESTS PLEASE! :) */ #include <stdio.h> @@ -53,7 +53,7 @@ demux_packet_t* dp; int len; - mp_msg(MSGT_DEMUX, MSGL_DBG2, "demux_tv_fill_buffer(sequence:%d) called!\n", seq); + mp_dbg(MSGT_DEMUX, MSGL_DBG2, "demux_tv_fill_buffer(sequence:%d) called!\n", seq); // demux->filepos = -1; @@ -88,6 +88,10 @@ return 1; } +int stream_open_tv(stream_t *stream, tvi_handle_t *tvh) +{ +} + int demux_open_tv(demuxer_t *demuxer, tvi_handle_t *tvh) { sh_video_t *sh_video = NULL; @@ -176,6 +180,7 @@ demuxer->video->sh = sh_video; sh_video->ds = demuxer->video; demuxer->video->id = 0; + demuxer->seekable = 0; /* here comes audio init */ if (funcs->control(tvh->priv, TVI_CONTROL_IS_AUDIO, 0) == TVI_CONTROL_TRUE)