Re: [FFmpeg-devel] Changing media formats mid stream

2015-08-24 Thread Máté Sebők
Oops, forgot to mention, in dshow_pin.c the libAVPin_QueryAccept() have to be edited to almost the same as libAVPin_ReceiveConnection() just without the pin management. On Mon, Aug 24, 2015 at 10:44 PM, Máté Sebők wrote: > I did a dirty little hack to attempt to fix it. > Don'

Re: [FFmpeg-devel] Changing media formats mid stream

2015-08-24 Thread Máté Sebők
I did a dirty little hack to attempt to fix it. Don't call the dshow_add_device() just in build time, but run the graph and sleep() a bit, then call dshow_add_device() at the end of the dshow_read_header(). Sadly, it does not work, it does not goes beyond the dshow "chit-chat" between filters/pins

Re: [FFmpeg-devel] [PATCH][GSoC] dshow add support for saving and loading of capture devices

2015-04-22 Thread Máté Sebők
Of course can it be only in the error block - just deleted the other releases. Also no need for NULL-ing either in this case. On Wed, Apr 22, 2015 at 6:26 PM, Roger Pack wrote: > On 4/22/15, Máté Sebők wrote: > > Added NULL-ing after release on load and save, lower-cased the

Re: [FFmpeg-devel] [PATCH][GSoC] dshow add support for saving and loading of capture devices

2015-04-22 Thread Máté Sebők
PM, Roger Pack wrote: > On 4/22/15, Michael Niedermayer wrote: > > On Wed, Apr 22, 2015 at 01:40:03PM +0200, Hendrik Leppkes wrote: > >> On Wed, Apr 22, 2015 at 1:12 PM, Michael Niedermayer > >> wrote: > >> > On Wed, Apr 22, 2015 at 12:47:59PM +0200, Máté

Re: [FFmpeg-devel] [PATCH][GSoC] dshow add support for saving and loading of capture devices

2015-04-22 Thread Máté Sebők
ged. You can use "dos2unix" command to convert > them back then do the diff again, so we can see what really changed. > > +if (file_stream) > +IStream_Release(file_stream); > > I'd prefer to only have this only "once" which means either