[vlc-devel] [PATCH] demux: ogg: seek to keyframes
Jean-Baptiste Kempf
jb at videolan.org
Thu Oct 10 00:12:47 CEST 2013
On 09 Oct, Francois Cartegnie wrote :
> This patch changes the way seeking is done.
Cool.
> +//#define OGG_DEMUX_DEBUG 1
> +#ifdef OGG_DEMUX_DEBUG
> + #define DemuxDebug(code) code
> +#else
> + #define DemuxDebug(code)
> +#endif
Why not using #ifndef NDEBUG?
> //#define OGG_SEEK_DEBUG 1
> +#ifdef OGG_SEEK_DEBUG
> + #define OggDebug(code) code
> + #define OggNoDebug(code)
> +#else
> + #define OggDebug(code)
> + #define OggNoDebug(code) code
> +#endif
Same.
The rest seems fine and works better, indeed.
Best regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel
mailing list