[vlc-commits] access: bluray: lie to slave demux and ignore selections

Francois Cartegnie git at videolan.org
Mon Oct 22 14:17:58 CEST 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Oct 19 17:06:13 2018 +0200| [47f8e13abc8a478c2f6dc80b5da080dbf3e85dd4] | committer: Francois Cartegnie

access: bluray: lie to slave demux and ignore selections

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=47f8e13abc8a478c2f6dc80b5da080dbf3e85dd4
---

 modules/access/bluray.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 0a40ef060c..7ed11c1935 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -1219,6 +1219,19 @@ static int bluray_esOutControl(es_out_t *p_out, int i_query, va_list args)
                                    p_pair->p_es);
         } break;
 
+        case ES_OUT_SET_ES_DEFAULT:
+        case ES_OUT_SET_ES:
+        case ES_OUT_UNSET_ES:
+        case ES_OUT_SET_ES_STATE:
+            i_ret = VLC_EGENERIC;
+            break;
+
+        case ES_OUT_GET_ES_STATE:
+            va_arg(args, es_out_id_t *);
+            *va_arg(args, bool *) = true;
+            i_ret = VLC_SUCCESS;
+            break;
+
         default:
             i_ret = es_out_vaControl(esout_priv->p_dst_out, i_query, args);
             break;



More information about the vlc-commits mailing list