[MPlayer-dev-eng] [PATCH] - fix for audio and video in dvr-ms asf files

Nico Sabbi nsabbi at email.it
Fri Mar 31 20:56:11 CEST 2006


John Donaghy wrote:

>There are still at least the following issues to be resolved that I
>hope to get to at some point... seeking is broken, the frame height is
>wrong, the fps and bit rate displayed at the start is wrong and
>there's no support for subtitles. If you're going to tackle these,
>please let me know so as we don't duplicate effort.
>
>Regards,
>
>John
>  
>
>     // create new packet:
>Index: demuxer.h
>===================================================================
>RCS file: /cvsroot/mplayer/main/libmpdemux/demuxer.h,v
>retrieving revision 1.91
>diff -u -r1.91 demuxer.h
>--- demuxer.h	17 Feb 2006 01:57:41 -0000	1.91
>+++ demuxer.h	31 Mar 2006 17:35:25 -0000
>@@ -110,6 +110,9 @@
> // ---- asf -----
>   demux_packet_t *asf_packet;  // read asf fragments here
>   int asf_seq;
>+  int asf_is_dvr_ms;
>+  uint32_t asf_frame_state;
>+  int asf_frame_start_found;
> // ---- mov -----
>   unsigned int ss_mul,ss_div;
> // ---- stream header ----
>
>
>
>  
>

although I'm not the maintener of demux_asf I can tell you that the 
above additions
to demuxer.h (in demux_stream_t) are not acceptable (asf_seq shoule be 
removed, too).
Please, find another way: possibly make them  members of demuxer->priv





More information about the MPlayer-dev-eng mailing list