[MPlayer-dev-eng] [PATCH] EDL cleanup and fixes

Reynaldo H. Verdejo Pinochet reynaldo at opendot.cl
Wed Nov 3 04:27:35 CET 2004


On Wed, Nov 03, 2004 at 01:35:48AM +0200, Oded Shimon wrote:
> EDL mute patch
> for explanation look for first email of this thread. This patch covers the 
> muting part alone.
> 
> - ods15

> Index: mplayer.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/mplayer.c,v
> retrieving revision 1.802
> diff -u -r1.802 mplayer.c
> --- mplayer.c	28 Oct 2004 23:25:17 -0000	1.802
> +++ mplayer.c	2 Nov 2004 23:34:02 -0000
> @@ -360,9 +360,10 @@
>  edl_record_ptr next_edl_record = NULL; /// only for traversing edl_records
>  int edl_memory_slots = 0; /// number of EDL entries (1 for skip + 2 for each mute)
>  int edl_operations = 0; /// number of EDL operations, skip + mute
> +short edl_muted = 0; ///< Stores whether EDL is currently in muted mode.
You dont need this (edl_muted), there is already an edl_mute_count
that does the same, if edl_mute_count%2 != 0 youre on edl's mute mode

i'll check this tomorrow, but please give it a second thought.

Regards

  Reynaldo
-------------- 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/mplayer-dev-eng/attachments/20041103/b9f31740/attachment.pgp>


More information about the MPlayer-dev-eng mailing list