[vlc-devel] [PATCH] Support for rotated MP4 Movies (bug #2882)

Rémi Denis-Courmont remi at remlab.net
Fri Feb 7 19:47:32 CET 2014


Le jeudi 6 février 2014, 23:15:40 Matthias Keiser a écrit :
> What follows is a series of patches so that rotated mp4's are correctly
> displayed. I tested it with the files found here:
> 
> http://streams.videolan.org/issues/2882/
> 
> Note: These patches currently only work if the mp4 gets demuxed with the MP4
> demuxer or with FFMpeg libavformat, but NOT with libav libavformat (because
> it doesn't set the rotation information). Since currently libav is the
> default, this means you might have to make sure that it plays via the MP4
> demuxer, which in turn means you probably have to download the examples to
> disk, and not simply stream them (else MP4 demuxer will bail out).
> 
> From 3b395f92ec85e2318d36ed89fd211c44c11c6b82 Mon Sep 17 00:00:00 2001
> From: Matthias Keiser <matthias at tristan-inc.com>
> Date: Thu, 6 Feb 2014 15:56:36 +0100
> Subject: [PATCH 02/13] Parse configuration argument in transform video
> filter.

Merged but please no trailing dot in the summary.

> 
> ---
>  modules/video_filter/transform.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/modules/video_filter/transform.c
> b/modules/video_filter/transform.c index b9d5ffc..60fdaa1 100644
> --- a/modules/video_filter/transform.c
> +++ b/modules/video_filter/transform.c
> @@ -315,6 +315,12 @@ static int Open(vlc_object_t *object)
> 
>      sys->chroma = chroma;
> 
> +    static const char *const ppsz_filter_options[] = {
> +        "type", NULL
> +    };
> +
> +    config_ChainParse(filter, CFG_PREFIX, ppsz_filter_options,
> +                      filter->p_cfg);
>      char *type_name = var_InheritString(filter, CFG_PREFIX"type");
>      const transform_description_t *dsc = NULL;

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list