mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 11:40:38 +00:00
omxvideodec: Don't abort if the color format is not supported but give a useful error message
This commit is contained in:
parent
714ba59b11
commit
febc2d99cb
1 changed files with 3 additions and 1 deletions
|
@ -608,7 +608,9 @@ gst_omx_video_dec_loop (GstOMXVideoDec * self)
|
|||
state->format = GST_VIDEO_FORMAT_NV12;
|
||||
break;
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
GST_ERROR_OBJECT (self, "Unsupported color format: %d",
|
||||
port_def.format.video.eColorFormat);
|
||||
goto caps_failed;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue