diff options
Diffstat (limited to 'src/libffmpeg')
-rw-r--r-- | src/libffmpeg/xine_decoder.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/libffmpeg/xine_decoder.c b/src/libffmpeg/xine_decoder.c index f7efebf9f..63a853558 100644 --- a/src/libffmpeg/xine_decoder.c +++ b/src/libffmpeg/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.122 2003/05/29 01:04:54 jstembridge Exp $ + * $Id: xine_decoder.c,v 1.123 2003/06/06 19:42:04 miguelfreitas Exp $ * * xine decoder plugin using ffmpeg * @@ -938,6 +938,14 @@ static void ff_decode_data (video_decoder_t *this_gen, buf_element_t *buf) { buf->pts = 0; img->duration = this->video_step; + /* FIXME: which codecs can be interlaced? + FIXME: check interlaced DCT and other codec specific info. */ + if( codec_type == BUF_VIDEO_DV || + codec_type == BUF_VIDEO_MPEG || + codec_type == BUF_VIDEO_MJPEG || + codec_type == BUF_VIDEO_HUFFYUV ) + img->progressive_frame = 0; + this->skipframes = img->draw(img, this->stream); if( this->skipframes < 0 ) this->skipframes = 0; |