mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 17:09:48 +00:00
qsvdecoder: Fix stream format detection
Fixing typo Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5711>
This commit is contained in:
parent
390d43dcde
commit
6e40624f20
2 changed files with 2 additions and 2 deletions
|
@ -302,7 +302,7 @@ gst_qsv_h264_dec_set_format (GstQsvDecoder * decoder,
|
|||
|
||||
s = gst_caps_get_structure (state->caps, 0);
|
||||
str = gst_structure_get_string (s, "stream-format");
|
||||
if ((g_strcmp0 (str, "avc") == 0 || g_strcmp0 (str, "avc3")) &&
|
||||
if ((g_strcmp0 (str, "avc") == 0 || g_strcmp0 (str, "avc3") == 0) &&
|
||||
state->codec_data) {
|
||||
self->packetized = TRUE;
|
||||
/* Will be updated */
|
||||
|
|
|
@ -335,7 +335,7 @@ gst_qsv_h265_dec_set_format (GstQsvDecoder * decoder,
|
|||
|
||||
s = gst_caps_get_structure (state->caps, 0);
|
||||
str = gst_structure_get_string (s, "stream-format");
|
||||
if ((g_strcmp0 (str, "avc") == 0 || g_strcmp0 (str, "avc3")) &&
|
||||
if ((g_strcmp0 (str, "hev1") == 0 || g_strcmp0 (str, "hvc1") == 0) &&
|
||||
state->codec_data) {
|
||||
self->packetized = TRUE;
|
||||
/* Will be updated */
|
||||
|
|
Loading…
Reference in a new issue