diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-02-04 09:50:22 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-02-04 09:50:22 +0000 |
commit | 1fe4e4910b45da16c96c75845f17dc34b1972059 (patch) | |
tree | d11db5ef9622678a0ba751afe5e6efbb8f5193df | |
parent | 8b6c37b76658c31cec87ecfc454ff3b241b43ebe (diff) | |
download | xine-lib-1fe4e4910b45da16c96c75845f17dc34b1972059.tar.gz xine-lib-1fe4e4910b45da16c96c75845f17dc34b1972059.tar.bz2 |
blind fix: DV jerky playback. thanks Bill Fink for investigating it.
CVS patchset: 4102
CVS date: 2003/02/04 09:50:22
-rw-r--r-- | src/libffmpeg/xine_decoder.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libffmpeg/xine_decoder.c b/src/libffmpeg/xine_decoder.c index 3bf3b29b5..f850dc24a 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.90 2003/02/02 15:42:04 miguelfreitas Exp $ + * $Id: xine_decoder.c,v 1.91 2003/02/04 09:50:22 miguelfreitas Exp $ * * xine decoder plugin using ffmpeg * @@ -448,9 +448,10 @@ static void ff_decode_data (video_decoder_t *this_gen, buf_element_t *buf) { while (this->size>0) { /* DV frames can be completely skipped */ - if( codec_type == BUF_VIDEO_DV && this->skipframes ) + if( codec_type == BUF_VIDEO_DV && this->skipframes ) { len = this->size; - else + got_picture = 1; + } else len = avcodec_decode_video (this->context, this->av_frame, &got_picture, &this->buf[offset], this->size); |