diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-11 01:44:54 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-11 01:44:54 +0000 |
commit | a0cfaaf615668b54252d89dccd1eb1a87428c6ed (patch) | |
tree | 5f3ba44a27159a5a2b687935c170fabf6879b9be /libmpdemux/tv.c | |
parent | ff534f0810c4191fdafb859be2ff95bf217fdc4f (diff) | |
download | mpv-a0cfaaf615668b54252d89dccd1eb1a87428c6ed.tar.bz2 mpv-a0cfaaf615668b54252d89dccd1eb1a87428c6ed.tar.xz |
tv update
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2811 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/tv.c')
-rw-r--r-- | libmpdemux/tv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libmpdemux/tv.c b/libmpdemux/tv.c index 48f089bad3..6949d826cc 100644 --- a/libmpdemux/tv.c +++ b/libmpdemux/tv.c @@ -42,7 +42,7 @@ int tv_param_input = 0; /* used in v4l and bttv */ /* fill demux->video and demux->audio */ int demux_tv_fill_buffer(demuxer_t *demux, tvi_handle_t *tvh) { - int seq = tvh->seq; + int seq = tvh->seq++; demux_stream_t *ds_video = NULL; demux_packet_t *dp_video = NULL; demux_stream_t *ds_audio = NULL; @@ -53,8 +53,8 @@ int demux_tv_fill_buffer(demuxer_t *demux, tvi_handle_t *tvh) demux->filepos = -1; - seq++; - tvh->seq++; +// seq++; +// tvh->seq++; /* ================== ADD VIDEO PACKET =================== */ len_video = tvh->functions->get_video_framesize(tvh->priv); @@ -146,7 +146,7 @@ int demux_open_tv(demuxer_t *demuxer, tvi_handle_t *tvh) /* get IMGFMT_ */ funcs->control(tvh->priv, TVI_CONTROL_VID_GET_FORMAT, &sh_video->format); - if (IMGFMT_IS_RGB(sh_video->format) || IMGFMT_IS_BGR(sh_video->format)) +// if (IMGFMT_IS_RGB(sh_video->format) || IMGFMT_IS_BGR(sh_video->format)) sh_video->format = 0x0; /* set FPS and FRAMETIME */ |