Commit e481f910 authored by Laurent Aimar's avatar Laurent Aimar

Added a i_original_fourcc field to es_format_t.

parent 7b21f4d2
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
/* FIXME: i'm not too sure about this include but it fixes compilation of /* FIXME: i'm not too sure about this include but it fixes compilation of
* video chromas -- dionoea */ * video chromas -- dionoea */
#include "vlc_common.h" #include "vlc_common.h"
#include <vlc_fourcc.h>
/** /**
* \file * \file
...@@ -229,6 +230,7 @@ struct es_format_t ...@@ -229,6 +230,7 @@ struct es_format_t
{ {
int i_cat; /**< ES category @see es_format_category_e */ int i_cat; /**< ES category @see es_format_category_e */
vlc_fourcc_t i_codec; /**< FOURCC value as used in vlc */ vlc_fourcc_t i_codec; /**< FOURCC value as used in vlc */
vlc_fourcc_t i_original_fourcc; /**< original FOURCC from the container */
int i_id; /**< es identifier, where means int i_id; /**< es identifier, where means
-1: let the core mark the right id -1: let the core mark the right id
......
...@@ -453,7 +453,7 @@ vlc_event_send ...@@ -453,7 +453,7 @@ vlc_event_send
__vlc_execve __vlc_execve
vlc_fastmem_register vlc_fastmem_register
vlc_freeaddrinfo vlc_freeaddrinfo
vlc_fourcc_GetClass vlc_fourcc_GetCodec
vlc_fourcc_GetDescription vlc_fourcc_GetDescription
vlc_gai_strerror vlc_gai_strerror
vlc_gc_init vlc_gc_init
......
...@@ -133,6 +133,7 @@ void es_format_Init( es_format_t *fmt, ...@@ -133,6 +133,7 @@ void es_format_Init( es_format_t *fmt,
{ {
fmt->i_cat = i_cat; fmt->i_cat = i_cat;
fmt->i_codec = i_codec; fmt->i_codec = i_codec;
fmt->i_original_fourcc = 0;
fmt->i_id = -1; fmt->i_id = -1;
fmt->i_group = 0; fmt->i_group = 0;
fmt->i_priority = 0; fmt->i_priority = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment