Commit 1d97a6f0 authored by Haihao Xiang's avatar Haihao Xiang Committed by Víctor Manuel Jáquez Leal
Browse files

msdk: add an assert in gst_msdk_frame_lock() for unhandled formats

We will add support for more formats, e.g. P010, Adding an assert
here may catch the error early
parent 1c016051
......@@ -296,6 +296,9 @@ gst_msdk_frame_lock (mfxHDL pthis, mfxMemId mid, mfxFrameData * data)
data->B = data->R + 2;
data->A = data->R + 3;
break;
default:
g_assert_not_reached ();
break;
}
} else {
VACodedBufferSegment *coded_buffer_segment;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment