mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
gst-libs/gst/riff/riff-media.c: On second thought, use "depth" field rather than "bpp" field.
Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps): On second thought, use "depth" field rather than "bpp" field.
This commit is contained in:
parent
439b3193bd
commit
58e6e134cb
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
|
||||||
|
On second thought, use "depth" field rather than "bpp" field.
|
||||||
|
|
||||||
2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
|
2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
|
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
|
||||||
|
|
|
@ -523,10 +523,10 @@ gst_riff_create_video_caps (guint32 codec_fcc,
|
||||||
case GST_MAKE_FOURCC ('T', 'S', 'C', 'C'):
|
case GST_MAKE_FOURCC ('T', 'S', 'C', 'C'):
|
||||||
case GST_MAKE_FOURCC ('t', 's', 'c', 'c'):{
|
case GST_MAKE_FOURCC ('t', 's', 'c', 'c'):{
|
||||||
if (strf) {
|
if (strf) {
|
||||||
gint bpp = (strf->bit_cnt != 0) ? (gint) strf->bit_cnt : 24;
|
gint depth = (strf->bit_cnt != 0) ? (gint) strf->bit_cnt : 24;
|
||||||
|
|
||||||
caps = gst_caps_new_simple ("video/x-camtasia", "bpp", G_TYPE_INT,
|
caps = gst_caps_new_simple ("video/x-camtasia", "depth", G_TYPE_INT,
|
||||||
bpp, NULL);
|
depth, NULL);
|
||||||
} else {
|
} else {
|
||||||
/* template caps */
|
/* template caps */
|
||||||
caps = gst_caps_new_simple ("video/x-camtasia", NULL);
|
caps = gst_caps_new_simple ("video/x-camtasia", NULL);
|
||||||
|
|
Loading…
Reference in a new issue