summaryrefslogtreecommitdiff
path: root/src/libffmpeg/xine_decoder.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-01-15 17:30:51 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-01-15 17:30:51 +0000
commitf22590515f098d54921a1a68af85fe1165b50571 (patch)
tree7f46cce3eff7d2769a481b621490a440b882a2a0 /src/libffmpeg/xine_decoder.c
parent7dbb76d173a301e69b7037ab6ecbb296c73db9b6 (diff)
downloadxine-lib-f22590515f098d54921a1a68af85fe1165b50571.tar.gz
xine-lib-f22590515f098d54921a1a68af85fe1165b50571.tar.bz2
another codec/buftypes update
CVS patchset: 1410 CVS date: 2002/01/15 17:30:51
Diffstat (limited to 'src/libffmpeg/xine_decoder.c')
-rw-r--r--src/libffmpeg/xine_decoder.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libffmpeg/xine_decoder.c b/src/libffmpeg/xine_decoder.c
index 9fec027f4..640d02d17 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.22 2002/01/05 21:54:17 miguelfreitas Exp $
+ * $Id: xine_decoder.c,v 1.23 2002/01/15 17:30:51 miguelfreitas Exp $
*
* xine decoder plugin using ffmpeg
*
@@ -110,6 +110,7 @@ static int ff_can_handle (video_decoder_t *this_gen, int buf_type) {
buf_type == BUF_VIDEO_MPEG4 ||
buf_type == BUF_VIDEO_MJPEG ||
/* buf_type == BUF_VIDEO_I263 || */
+ buf_type == BUF_VIDEO_H263 ||
buf_type == BUF_VIDEO_RV10 ||
buf_type == BUF_VIDEO_JPEG);
}
@@ -171,6 +172,9 @@ static void ff_decode_data (video_decoder_t *this_gen, buf_element_t *buf) {
codec = avcodec_find_decoder (CODEC_ID_MJPEG);
break;
case BUF_VIDEO_I263:
+ codec = avcodec_find_decoder (CODEC_ID_H263I);
+ break;
+ case BUF_VIDEO_H263:
codec = avcodec_find_decoder (CODEC_ID_H263);
break;
case BUF_VIDEO_RV10: