[FFmpeg-devel] Realmedia patch

Michael Niedermayer michaelni
Sat Aug 30 21:35:36 CEST 2008


On Sat, Aug 30, 2008 at 02:40:57PM -0400, Ronald S. Bultje wrote:
> Hi,
> 
> On Sat, Aug 30, 2008 at 2:32 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> > On Sat, Aug 30, 2008 at 10:39:55AM -0400, Ronald S. Bultje wrote:
> >> On Thu, Aug 21, 2008 at 12:05 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> >> > On Mon, Aug 18, 2008 at 10:21:35AM -0400, Ronald S. Bultje wrote:
> >> >> @@ -1263,24 +1403,25 @@
> >> >>
> >> >>      av_log(s, AV_LOG_DEBUG, "hello state=%d\n", rt->state);
> >> >>
> >> >> +    if (!(rt->real_stream && rt->no_streams_chosen_yet)) {
> >> >> +        if (rt->state == RTSP_STATE_PAUSED) {
> >> >> -    if (rt->state == RTSP_STATE_PAUSED) {
> >> >> +            snprintf(cmd, sizeof(cmd),
> >> >> +                     "PLAY %s RTSP/1.0\r\n",
> >> >> +                     s->filename);
> >> >> -        snprintf(cmd, sizeof(cmd),
> >> >> -                 "PLAY %s RTSP/1.0\r\n",
> >> >> -                 s->filename);
> >> >> +        } else {
> >> >> -    } else {
> >> >
> >> > cosmetics ...
> >>
> >> To best address the cosmetics, I'd like to apply a small cosmetics
> >> patch to rtsp_pause() and rtsp_play(), see attached. Is that OK? With
> >> attached, I can simply add an if(){ ... } around the relevant part,
> >> but the "else" maks that difficult in the current version. My patch
> >> removes the "else" case, which isn't needed since if() returns.
> >
> > Id leave the {}
> > besides this iam fine with it but iam not rtsp maintainer ...
> 
> Well, Luca B. is kind of not responsive, so how about I'll give it 2-3
> days and then I apply (I'll leave the {})?

ok

anyway you can threaten him with taking rtsp.c maintainership over if he
doesnt maintain it properly, which includes reviewing patches occasionally.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080830/5912348d/attachment.pgp>



More information about the ffmpeg-devel mailing list