Re: [FFmpeg-devel] GSoC update

2015-07-08 Thread Stephan Holljes
Hi, I have moved the client code in the sample application into a separate function, I hope I did this correctly. I also annotated the patch files with the changes that occurred over the past few iterations of these exchanges. They will be sent shortly as git send-email patches. I also tested the

Re: [FFmpeg-devel] GSoC update

2015-07-03 Thread Nicolas George
Le quintidi 15 messidor, an CCXXIII, Stephan Holljes a écrit : > >> +if ((ret = ffurl_alloc(c, s->filename, AVIO_FLAG_READ_WRITE, > >> &sl->interrupt_callback)) < 0) > > AVIO_FLAG_READ_WRITE seems wrong. > Changed to AVIO_FLAG_WRITE, but don't we read the request data from > the client? Why do

Re: [FFmpeg-devel] GSoC update

2015-07-02 Thread Stephan Holljes
On Wed, Jul 1, 2015 at 4:10 PM, Nicolas George wrote: > Le duodi 12 messidor, an CCXXIII, Stephan Holljes a écrit : >> This might be a stupid question, but how would I go about that? Just >> use open() and read() from stdio.h or are there structs that allow me >> to do that even more easily? > > Y

Re: [FFmpeg-devel] GSoC update

2015-07-01 Thread Nicolas George
Le duodi 12 messidor, an CCXXIII, Stephan Holljes a écrit : > This might be a stupid question, but how would I go about that? Just > use open() and read() from stdio.h or are there structs that allow me > to do that even more easily? You must use the avio family of function, not the OS functions d

Re: [FFmpeg-devel] GSoC update

2015-06-30 Thread Stephan Holljes
Hi, On Sun, Jun 28, 2015 at 10:06 PM, Nicolas George wrote: > Le decadi 10 messidor, an CCXXIII, Stephan Holljes a écrit : >> Hi, >> attached patches are the current state of work. >> It's probably still a bit rough around the edges, but I think I made >> some progress. >> The sample code in doc/

Re: [FFmpeg-devel] GSoC update

2015-06-28 Thread Nicolas George
Le decadi 10 messidor, an CCXXIII, Stephan Holljes a écrit : > Hi, > attached patches are the current state of work. > It's probably still a bit rough around the edges, but I think I made > some progress. > The sample code in doc/examples does not write any data as of yet, but > the HTTP handshake

Re: [FFmpeg-devel] GSoC update

2015-06-27 Thread Stephan Holljes
Hi, attached patches are the current state of work. It's probably still a bit rough around the edges, but I think I made some progress. The sample code in doc/examples does not write any data as of yet, but the HTTP handshake works. From b43aeaa27f6ca7df476aa194b2f78aa1b49516d0 Mon Sep 17 00:00:00

Re: [FFmpeg-devel] GSoC update

2015-06-26 Thread Nicolas George
L'octidi 8 messidor, an CCXXIII, Stephan Holljes a écrit : > I think I implemented everything necessary, but I don't know how to > test it. The old behaviour of accepting a single client is now also > broken. Since that behaviour was already established, breaking it without notice is not an option

Re: [FFmpeg-devel] GSoC update

2015-06-26 Thread Stephan Holljes
On Fri, Jun 26, 2015 at 10:51 AM, Nicolas George wrote: > Le septidi 7 messidor, an CCXXIII, Stephan Holljes a écrit : >> Thanks, I understand the datastructures and their interaction a lot >> better now. I discussed it with a friend yesterday too and there a lot >> of the things started to make m

Re: [FFmpeg-devel] GSoC update

2015-06-26 Thread Nicolas George
Le septidi 7 messidor, an CCXXIII, Stephan Holljes a écrit : > Thanks, I understand the datastructures and their interaction a lot > better now. I discussed it with a friend yesterday too and there a lot > of the things started to make more sense. > I'm currently working on the implementation, when

Re: [FFmpeg-devel] GSoC update

2015-06-25 Thread Stephan Holljes
On Thu, Jun 25, 2015 at 11:12 AM, Nicolas George wrote: > Le sextidi 6 messidor, an CCXXIII, Stephan Holljes a écrit : >> > * Creating and preparing the server socket: avio_open2() with various >> > options for the address and the "listen" option set. >> Am I correct to understand that this has

Re: [FFmpeg-devel] GSoC update

2015-06-25 Thread Nicolas George
Le sextidi 6 messidor, an CCXXIII, Stephan Holljes a écrit : > > * Creating and preparing the server socket: avio_open2() with various > > options for the address and the "listen" option set. > Am I correct to understand that this has to return immediately, > because if avio_open2() does not retu

Re: [FFmpeg-devel] GSoC update

2015-06-23 Thread Stephan Holljes
Thank you for the detailed reply. It has helped me understand the structures a lot better than before. Comments inline. On Tue, Jun 23, 2015 at 5:25 PM, Nicolas George wrote: > This has better go to the mailing list. > > Le quintidi 5 messidor, an CCXXIII, Stephan Holljes a écrit : >> So far I ha

Re: [FFmpeg-devel] GSoC update

2015-06-23 Thread Nicolas George
This has better go to the mailing list. Le quintidi 5 messidor, an CCXXIII, Stephan Holljes a écrit : > So far I have split ff_listen_bind() into ff_listen_bind() and > ff_accept() and added an url_accept field to URLProtocol (see attached > patch). I do not believe this is the correct approach.