[vlc-commits] access: bluray: fix discontinuity on set_title

Francois Cartegnie git at videolan.org
Mon May 22 15:48:30 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon May 22 15:46:16 2017 +0200| [d10bd555f03bf74bd1e26c93be6aac8aeb9493a8] | committer: Francois Cartegnie

access: bluray: fix discontinuity on set_title

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

 modules/access/bluray.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index aa3be20177..e62c8525a9 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -1830,9 +1830,9 @@ static int blurayControl(demux_t *p_demux, int query, va_list args)
         if (bluraySetTitle(p_demux, i_title) != VLC_SUCCESS) {
             /* make sure GUI restores the old setting in title menu ... */
             p_demux->info.i_update |= INPUT_UPDATE_TITLE | INPUT_UPDATE_SEEKPOINT;
-            notifyDiscontinuity( p_sys );
             return VLC_EGENERIC;
         }
+        notifyDiscontinuity( p_sys );
         break;
     }
     case DEMUX_SET_SEEKPOINT:



More information about the vlc-commits mailing list