diff options
Diffstat (limited to 'omx/gstomx.c')
-rw-r--r-- | omx/gstomx.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/omx/gstomx.c b/omx/gstomx.c index 04c5502..7f714bc 100644 --- a/omx/gstomx.c +++ b/omx/gstomx.c @@ -2394,9 +2394,10 @@ gst_omx_state_to_string (OMX_STATETYPE state) case OMX_StateWaitForResources: return "WaitForResources"; default: - if (state >= OMX_StateKhronosExtensions) + if (state >= OMX_StateKhronosExtensions + && state < OMX_StateVendorStartUnused) return "KhronosExtensionState"; - else if (state >= OMX_StateVendorStartUnused) + else if (state >= OMX_StateVendorStartUnused && state < OMX_StateMax) return "CustomVendorState"; break; } |