[MPlayer-dev-eng] Keyframe Flag in Real.c V2
Diego Biurrun
diego at biurrun.de
Thu Sep 18 18:44:37 CEST 2003
Please read DOCS/tech/patches.txt and send a proper patch.
Thanks
Diego
On Thu, Sep 18, 2003 at 06:22:06PM +0200, Jan Schunk wrote:
> Sorry, I did a mistake in line 634, this is the right code:
>
> I have found the keyframe flag for RealMedia rtsp Streams:
>
> Go to the following function:
>
> 580 int real_get_rdt_chunk(rtsp_t *rtsp_session, char *buffer)
>
>
> Replace this line
>
> 618 unknown1=(header[5]<<12)+(header[6]<<8)+(header[7]);
>
>
> with this one:
>
> 618 unknown1=(header[5]<<16)+(header[6]<<8)+(header[7]);
>
>
> And this one
>
> 634 ph.flags=0; /* TODO: determine keyframe flag and insert here? */
>
> with this:
>
> 634 ph.flags=2-(2*((unknown1)&1));
More information about the MPlayer-dev-eng
mailing list