diff mbox

[FFmpeg-devel] ffprobe: add AVCodecContext help message into ffprobe

Message ID 20170309081429.32111-1-lq@chinaffmpeg.org
State Accepted
Commit 51e3501993e3296727678c95bfcffe5b85525a12
Headers show

Commit Message

Liu Steven March 9, 2017, 8:14 a.m. UTC
because the ffprobe can use AVCodecContext parameters

Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
 ffprobe.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Steven Liu March 11, 2017, 3:13 a.m. UTC | #1
2017-03-09 16:14 GMT+08:00 Steven Liu <lq@chinaffmpeg.org>:

> because the ffprobe can use AVCodecContext parameters
>
> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
> ---
>  ffprobe.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/ffprobe.c b/ffprobe.c
> index c85c3a1..b104390 100644
> --- a/ffprobe.c
> +++ b/ffprobe.c
> @@ -3004,6 +3004,7 @@ void show_help_default(const char *opt, const char
> *arg)
>      printf("\n");
>
>      show_help_children(avformat_get_class(), AV_OPT_FLAG_DECODING_PARAM);
> +    show_help_children(avcodec_get_class(), AV_OPT_FLAG_DECODING_PARAM);
>  }
>
>  /**
> --
> 2.10.1.382.ga23ca1b.dirty
>
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel



pushed


Thanks!
diff mbox

Patch

diff --git a/ffprobe.c b/ffprobe.c
index c85c3a1..b104390 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -3004,6 +3004,7 @@  void show_help_default(const char *opt, const char *arg)
     printf("\n");
 
     show_help_children(avformat_get_class(), AV_OPT_FLAG_DECODING_PARAM);
+    show_help_children(avcodec_get_class(), AV_OPT_FLAG_DECODING_PARAM);
 }
 
 /**