[vlc-commits] [Git][videolan/vlc][master] demux: ps: restore forced open

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Thu Oct 1 15:57:07 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
dc839a31 by François Cartegnie at 2026-10-01T17:39:53+02:00
demux: ps: restore forced open

regression by a02b93fd0bb43d7d42c5a9e9486f3486781ae976

- - - - -


1 changed file:

- modules/demux/mpeg/ps.c


Changes:

=====================================
modules/demux/mpeg/ps.c
=====================================
@@ -183,6 +183,12 @@ static int Open( vlc_object_t *p_this )
         msg_Info( p_demux, "Detected CDXA-PS" );
         /* FIXME: have a proper way to decap CD sectors or make an access stream filter */
     }
+    else if( p_demux->obj.force )
+    {
+        msg_Warn( p_demux, "this does not look like an MPEG PS stream, "
+                  "continuing anyway" );
+        i_max_packets = 0;
+    }
 
     for( unsigned i=0; i<i_max_packets; i++ )
     {



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/dc839a318b8e97a88219e919d84fc0b6ece0fe34

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/dc839a318b8e97a88219e919d84fc0b6ece0fe34
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list