mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
ext/ffmpeg/gstffmpegcodecmap.c: Forwardport from 0.8 to implement QT-RLE.
Original commit message from CVS: * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps): Forwardport from 0.8 to implement QT-RLE.
This commit is contained in:
parent
415fc3df0e
commit
e175b7ab78
2 changed files with 16 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
|
||||
Forwardport from 0.8 to implement QT-RLE.
|
||||
|
||||
2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
|
||||
|
|
|
@ -462,6 +462,17 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
|
|||
}
|
||||
break;
|
||||
|
||||
case CODEC_ID_QTRLE:
|
||||
caps = GST_FF_VID_CAPS_NEW ("video/x-rle",
|
||||
"layout", G_TYPE_STRING, "quicktime", NULL);
|
||||
if (context) {
|
||||
gst_caps_set_simple (caps,
|
||||
"depth", G_TYPE_INT, (gint) context->bits_per_sample, NULL);
|
||||
} else {
|
||||
gst_caps_set_simple (caps, "depth", GST_TYPE_INT_RANGE, 1, 64, NULL);
|
||||
}
|
||||
break;
|
||||
|
||||
case CODEC_ID_MSVIDEO1:
|
||||
caps = GST_FF_VID_CAPS_NEW ("video/x-msvideocodec",
|
||||
"msvideoversion", G_TYPE_INT, 1, NULL);
|
||||
|
@ -483,7 +494,6 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
|
|||
case CODEC_ID_VMDAUDIO:
|
||||
case CODEC_ID_MSZH:
|
||||
case CODEC_ID_ZLIB:
|
||||
case CODEC_ID_QTRLE:
|
||||
case CODEC_ID_SONIC:
|
||||
case CODEC_ID_SONIC_LS:
|
||||
case CODEC_ID_SNOW:
|
||||
|
|
Loading…
Reference in a new issue