This is v2 of patches that fixes issues in the mtk-vcodec encoder v1 is [1] patch 1 add support to vp8 profile contorl. Without this control the encoder can't be used with gstreamer. patches 2-3 are bug fixes patch 4: fixes the debugging patch 5-7 are cleanups changes from v1: 1. some cleanup patches (4-6) are new 2. improve commit log of patches. [1] https://lore.kernel.org/linux-media/34a3f0e40c5248472d072d2a06cc4370e08ea9ff.camel@xxxxxxxxxxxx/T/ Dafna Hirschfeld (7): media: mtk-vcodec: enc: add vp8 profile ctrl media: mtk-vcodec: call v4l2_m2m_ctx_release first when file is released media: mtk-vcodec: enc: use "stream_started" flag for "stop/start_streaming" media: mtk-vcodec: fix debugging defines media: mtk-vcodec: replace func vidioc_try_fmt with two funcs for out/cap media: mtk-vcodec: don't check return val of mtk_venc_get_q_data meida: mtk-vcodec: remove unused func parameter .../platform/mtk-vcodec/mtk_vcodec_dec_drv.c | 3 - .../platform/mtk-vcodec/mtk_vcodec_drv.h | 4 + .../platform/mtk-vcodec/mtk_vcodec_enc.c | 206 +++++++++--------- .../platform/mtk-vcodec/mtk_vcodec_enc_drv.c | 5 +- .../platform/mtk-vcodec/mtk_vcodec_util.c | 10 - .../platform/mtk-vcodec/mtk_vcodec_util.h | 45 +--- .../mtk-vcodec/vdec/vdec_h264_req_if.c | 4 +- .../platform/mtk-vcodec/venc/venc_h264_if.c | 9 +- .../platform/mtk-vcodec/venc/venc_vp8_if.c | 3 +- .../media/platform/mtk-vcodec/venc_vpu_if.c | 1 - .../media/platform/mtk-vcodec/venc_vpu_if.h | 1 - 11 files changed, 118 insertions(+), 173 deletions(-) -- 2.17.1