diff options
author | Mike Melanson <mike@multimedia.cx> | 2004-01-03 14:50:13 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2004-01-03 14:50:13 +0000 |
commit | 3ab506d2d52c95e4ee34a793a8f29d53938b7286 (patch) | |
tree | 292eed6f05a407630bae2ddee5b32d812aa08b6e | |
parent | 17bfa0f4657219b84b65c413237da5ec67f574a7 (diff) | |
download | xine-lib-3ab506d2d52c95e4ee34a793a8f29d53938b7286.tar.gz xine-lib-3ab506d2d52c95e4ee34a793a8f29d53938b7286.tar.bz2 |
stream_codec_tag needs to be set as well
CVS patchset: 5978
CVS date: 2004/01/03 14:50:13
-rw-r--r-- | src/libffmpeg/xine_decoder.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libffmpeg/xine_decoder.c b/src/libffmpeg/xine_decoder.c index 029c869ba..1331b57a5 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.147 2003/12/26 18:37:59 valtri Exp $ + * $Id: xine_decoder.c,v 1.148 2004/01/03 14:50:13 tmmm Exp $ * * xine decoder plugin using ffmpeg * @@ -238,7 +238,9 @@ static void init_video_codec (ff_video_decoder_t *this, xine_bmiheader *bih) { this->context->opaque = this; this->context->width = this->bih.biWidth; this->context->height = this->bih.biHeight; - this->context->codec_tag = _x_stream_info_get(this->stream, XINE_STREAM_INFO_VIDEO_FOURCC); + this->context->stream_codec_tag = this->context->codec_tag = + _x_stream_info_get(this->stream, XINE_STREAM_INFO_VIDEO_FOURCC); + /* some decoders (eg. dv) do not know the pix_fmt until they decode the * first frame. setting to -1 avoid enabling DR1 for them. */ |