From 959bc36199a9639f82cf0a6ccf337da3f4ec2571 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Mon, 2 Mar 2020 18:50:21 +0100 Subject: [PATCH] libeplayer3: disable mjpeg format,because hardware does not support and this kills PTS (mp3 with attached picture) Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/4d1aa0a21474f359efb161691f2a166be51941ad Author: Jacek Jendrzej Date: 2020-03-02 (Mon, 02 Mar 2020) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- libeplayer3/container/container_ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libeplayer3/container/container_ffmpeg.c b/libeplayer3/container/container_ffmpeg.c index 75109ac..276f4ec 100644 --- a/libeplayer3/container/container_ffmpeg.c +++ b/libeplayer3/container/container_ffmpeg.c @@ -308,7 +308,7 @@ static char *Codec2Encoding(int32_t codec_id, int32_t media_type, uint8_t *extra case AV_CODEC_ID_MPEG2VIDEO: return "V_MPEG2"; case AV_CODEC_ID_MJPEG: - return "V_MJPEG"; + return NULL;//"V_MJPEG"; case AV_CODEC_ID_H263: case AV_CODEC_ID_H263P: case AV_CODEC_ID_H263I: