mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
omx: Remove QCOM hack to reset nOffset in EmptyBufferDone
This is now done in a generic way that does not require any hacks because it will work without any side effects on any OMX implementation.
This commit is contained in:
parent
2750a8869b
commit
72fa93956b
2 changed files with 1 additions and 7 deletions
|
@ -1901,8 +1901,6 @@ gst_omx_parse_hacks (gchar ** hacks)
|
||||||
hacks_flags |= GST_OMX_HACK_VIDEO_FRAMERATE_INTEGER;
|
hacks_flags |= GST_OMX_HACK_VIDEO_FRAMERATE_INTEGER;
|
||||||
else if (g_str_equal (*hacks, "syncframe-flag-not-used"))
|
else if (g_str_equal (*hacks, "syncframe-flag-not-used"))
|
||||||
hacks_flags |= GST_OMX_HACK_SYNCFRAME_FLAG_NOT_USED;
|
hacks_flags |= GST_OMX_HACK_SYNCFRAME_FLAG_NOT_USED;
|
||||||
else if (g_str_equal (*hacks, "no-noffset-reset"))
|
|
||||||
hacks_flags |= GST_OMX_HACK_NO_NOFFSET_RESET;
|
|
||||||
else if (g_str_equal (*hacks, "no-component-reconfigure"))
|
else if (g_str_equal (*hacks, "no-component-reconfigure"))
|
||||||
hacks_flags |= GST_OMX_HACK_NO_COMPONENT_RECONFIGURE;
|
hacks_flags |= GST_OMX_HACK_NO_COMPONENT_RECONFIGURE;
|
||||||
else
|
else
|
||||||
|
|
|
@ -55,14 +55,10 @@ G_BEGIN_DECLS
|
||||||
* Happens with the Bellagio ffmpegdist video encoder.
|
* Happens with the Bellagio ffmpegdist video encoder.
|
||||||
*/
|
*/
|
||||||
#define GST_OMX_HACK_SYNCFRAME_FLAG_NOT_USED G_GUINT64_CONSTANT (0x0000000000000008)
|
#define GST_OMX_HACK_SYNCFRAME_FLAG_NOT_USED G_GUINT64_CONSTANT (0x0000000000000008)
|
||||||
/* If the nOffset field of buffers is not reset in EmptyBufferDone.
|
|
||||||
* Happens with Qualcomm's OpenMAX implementation.
|
|
||||||
*/
|
|
||||||
#define GST_OMX_HACK_NO_NOFFSET_RESET G_GUINT64_CONSTANT (0x0000000000000010)
|
|
||||||
/* If the component needs to be re-created if the caps change.
|
/* If the component needs to be re-created if the caps change.
|
||||||
* Happens with Qualcomm's OpenMAX implementation.
|
* Happens with Qualcomm's OpenMAX implementation.
|
||||||
*/
|
*/
|
||||||
#define GST_OMX_HACK_NO_COMPONENT_RECONFIGURE G_GUINT64_CONSTANT (0x0000000000000020)
|
#define GST_OMX_HACK_NO_COMPONENT_RECONFIGURE G_GUINT64_CONSTANT (0x0000000000000010)
|
||||||
|
|
||||||
|
|
||||||
typedef struct _GstOMXCore GstOMXCore;
|
typedef struct _GstOMXCore GstOMXCore;
|
||||||
|
|
Loading…
Reference in a new issue