mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 05:12:09 +00:00
vtenc: Do not set the CRF/Quality parameter with ProRes
It's not supported with ProRes, setting the property will fail. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7232>
This commit is contained in:
parent
cbadb0b4ae
commit
fa25dd4de5
1 changed files with 3 additions and 2 deletions
|
@ -1609,8 +1609,9 @@ gst_vtenc_create_session (GstVTEnc * self)
|
|||
gst_vtenc_session_configure_realtime (self, session, self->realtime);
|
||||
gst_vtenc_session_configure_allow_frame_reordering (self, session,
|
||||
self->allow_frame_reordering);
|
||||
gst_vtenc_session_configure_property_double (self, session,
|
||||
kVTCompressionPropertyKey_Quality, self->quality);
|
||||
if (codec_details->format_id != GST_kCMVideoCodecType_Some_AppleProRes)
|
||||
gst_vtenc_session_configure_property_double (self, session,
|
||||
kVTCompressionPropertyKey_Quality, self->quality);
|
||||
|
||||
if (self->dump_properties) {
|
||||
gst_vtenc_session_dump_properties (self, session);
|
||||
|
|
Loading…
Reference in a new issue