mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
jpegdec: Configure JPEG chroma-siting for YUV formats
This commit is contained in:
parent
a78a74bff0
commit
fc3bb4c549
1 changed files with 3 additions and 0 deletions
|
@ -990,6 +990,9 @@ gst_jpeg_dec_negotiate (GstJpegDec * dec, gint width, gint height, gint clrspc,
|
|||
case JCS_GRAYSCALE:
|
||||
break;
|
||||
default:
|
||||
/* aka JPEG chroma siting */
|
||||
outstate->info.chroma_site = GST_VIDEO_CHROMA_SITE_NONE;
|
||||
|
||||
outstate->info.colorimetry.range = GST_VIDEO_COLOR_RANGE_0_255;
|
||||
outstate->info.colorimetry.matrix = GST_VIDEO_COLOR_MATRIX_BT601;
|
||||
outstate->info.colorimetry.transfer = GST_VIDEO_TRANSFER_UNKNOWN;
|
||||
|
|
Loading…
Reference in a new issue