<div dir="ltr">Please ignore second one, both format-patch got interleaved.</div><div class="gmail_extra"><br><div class="gmail_quote">2014-09-09 19:03 GMT+02:00 Felix Abecassis <span dir="ltr"><<a href="mailto:felix.abecassis@gmail.com" target="_blank">felix.abecassis@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">---<br>
include/vlc_es.h | 3 +++<br>
<span class=""> src/input/decoder.c | 3 ++-<br>
src/misc/es_format.c | 3 +++<br>
</span> 3 files changed, 8 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/include/vlc_es.h b/include/vlc_es.h<br>
index 5790d23..2fbf254 100644<br>
--- a/include/vlc_es.h<br>
+++ b/include/vlc_es.h<br>
@@ -26,6 +26,7 @@<br>
<br>
#include <vlc_fourcc.h><br>
#include <vlc_text_style.h><br>
+#include <vlc_stereo3d.h><br>
<br>
/**<br>
* \file<br>
@@ -219,6 +220,8 @@ struct video_format_t<br>
<span class=""> int i_rbshift, i_lbshift;<br>
video_palette_t *p_palette; /**< video palette from demuxer */<br>
video_orientation_t orientation; /**< picture orientation */<br>
+<br>
</span>+ stereo3d_format_t stereo_format;<br>
<span class=""> };<br>
<br>
/**<br>
diff --git a/src/input/decoder.c b/src/input/decoder.c<br>
</span>index 87c65ef..db7d28d 100644<br>
--- a/src/input/decoder.c<br>
+++ b/src/input/decoder.c<br>
@@ -2052,7 +2052,8 @@ static picture_t *vout_new_buffer( decoder_t *p_dec )<br>
p_dec->fmt_out.i_codec != p_owner->video.i_chroma ||<br>
(int64_t)p_dec->fmt_out.video.i_sar_num * p_owner->video.i_sar_den !=<br>
(int64_t)p_dec->fmt_out.video.i_sar_den * p_owner->video.i_sar_num ||<br>
- p_dec->fmt_out.video.orientation != p_owner->video.orientation )<br>
+ p_dec->fmt_out.video.orientation != p_owner->video.orientation ||<br>
+ p_dec->fmt_out.video.stereo_format.mode != p_owner->video.stereo_format.mode)<br>
<span class=""> {<br>
vout_thread_t *p_vout;<br>
<br>
diff --git a/src/misc/es_format.c b/src/misc/es_format.c<br>
</span>index 27622bc..69bab7f 100644<br>
<span class="">--- a/src/misc/es_format.c<br>
+++ b/src/misc/es_format.c<br>
@@ -392,6 +392,9 @@ bool video_format_IsSimilar( const video_format_t *p_fmt1, const video_format_t<br>
if( v1.orientation != v2.orientation)<br>
return false;<br>
<br>
</span>+ if( v1.stereo_format.mode != v2.stereo_format.mode )<br>
<div class="HOEnZb"><div class="h5">+ return false;<br>
+<br>
if( v1.i_chroma == VLC_CODEC_RGB15 ||<br>
v1.i_chroma == VLC_CODEC_RGB16 ||<br>
v1.i_chroma == VLC_CODEC_RGB24 ||<br>
--<br>
1.9.1<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Félix Abecassis<div><a href="http://felix.abecassis.me" target="_blank">http://felix.abecassis.me</a></div>
</div>