mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
nvh265dec: Don't convert unknown video format to string
gst_video_format_to_string() method does not allow unknown format Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6102>
This commit is contained in:
parent
68d62a8433
commit
59358e439d
1 changed files with 5 additions and 3 deletions
|
@ -632,9 +632,11 @@ gst_nv_h265_dec_new_sequence (GstH265Decoder * decoder, const GstH265SPS * sps,
|
|||
}
|
||||
|
||||
if (self->out_format != out_format) {
|
||||
if (self->out_format != GST_VIDEO_FORMAT_UNKNOWN) {
|
||||
GST_INFO_OBJECT (self, "Output format changed %s -> %s",
|
||||
gst_video_format_to_string (self->out_format),
|
||||
gst_video_format_to_string (out_format));
|
||||
}
|
||||
self->out_format = out_format;
|
||||
modified = TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue