mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-12 06:42:00 +00:00
theoradec: add chroma-site to caps
This commit is contained in:
parent
ac9b69a088
commit
ed438e5539
1 changed files with 2 additions and 1 deletions
|
@ -834,7 +834,8 @@ theora_handle_type_packet (GstTheoraDec * dec, ogg_packet * packet)
|
||||||
dec->info.fps_numerator, dec->info.fps_denominator,
|
dec->info.fps_numerator, dec->info.fps_denominator,
|
||||||
"pixel-aspect-ratio", GST_TYPE_FRACTION, par_num, par_den,
|
"pixel-aspect-ratio", GST_TYPE_FRACTION, par_num, par_den,
|
||||||
"width", G_TYPE_INT, dec->width, "height", G_TYPE_INT, dec->height,
|
"width", G_TYPE_INT, dec->width, "height", G_TYPE_INT, dec->height,
|
||||||
"color-matrix", G_TYPE_STRING, "sdtv", NULL);
|
"color-matrix", G_TYPE_STRING, "sdtv",
|
||||||
|
"chroma-site", G_TYPE_STRING, "jpeg", NULL);
|
||||||
gst_pad_set_caps (dec->srcpad, caps);
|
gst_pad_set_caps (dec->srcpad, caps);
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue