Re: [FFmpeg-devel] [PATCH 2/2] lavf/concatdef: pass options to nested input

2015-03-05 Thread Zhang Rui
2015-03-05 20:34 GMT+08:00 Nicolas George : > Le quintidi 15 ventôse, an CCXXIII, Zhang Rui a écrit : > >> Your solution is enough for my case. >> And as you said, my patch may be not desirable. > > I believe it depends on the use case, and it is not completely obvious which > side your example fal

Re: [FFmpeg-devel] [PATCH 2/2] lavf/concatdef: pass options to nested input

2015-03-05 Thread Nicolas George
Le quintidi 15 ventôse, an CCXXIII, Zhang Rui a écrit : > I'm using concatdec for streaming http segments. > which need options like timeout, user_agent. Ok. > Your solution is enough for my case. > And as you said, my patch may be not desirable. I believe it depends on the use case, and it is n

Re: [FFmpeg-devel] [PATCH 2/2] lavf/concatdef: pass options to nested input

2015-03-05 Thread Zhang Rui
2015-03-05 19:06 GMT+08:00 Nicolas George : > Le quintidi 15 ventôse, an CCXXIII, Zhang Rui a écrit : >> Subject: [FFmpeg-devel] [PATCH 2/2] lavf/concatdef: pass options to > > "concatdec" I suppose? Sorry, my fault. > >> --- >> libavformat/concatdec.c | 24 +--- >> 1 file ch

Re: [FFmpeg-devel] [PATCH 2/2] lavf/concatdef: pass options to nested input

2015-03-05 Thread Nicolas George
Le quintidi 15 ventôse, an CCXXIII, Zhang Rui a écrit : > Subject: [FFmpeg-devel] [PATCH 2/2] lavf/concatdef: pass options to "concatdec" I suppose? > --- > libavformat/concatdec.c | 24 +--- > 1 file changed, 17 insertions(+), 7 deletions(-) Can you explain the use case you

[FFmpeg-devel] [PATCH 2/2] lavf/concatdef: pass options to nested input

2015-03-05 Thread Zhang Rui
--- libavformat/concatdec.c | 24 +--- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c index f07cfd7..a6bf6ee 100644 --- a/libavformat/concatdec.c +++ b/libavformat/concatdec.c @@ -56,6 +56,7 @@ typedef struct {