[MPlayer-cvslog] r38630 - trunk/gui/interface.c

ib subversion at mplayerhq.hu
Tue Jun 25 15:32:01 EEST 2024


Author: ib
Date: Tue Jun 25 15:32:01 2024
New Revision: 38630

Log:
Access the demuxer in a less complicated way.

Modified:
   trunk/gui/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Tue Jun 25 15:28:11 2024	(r38629)
+++ trunk/gui/interface.c	Tue Jun 25 15:32:01 2024	(r38630)
@@ -904,7 +904,7 @@ int gui(int what, void *data)
         btnSet(evBackward10min, state);
         btnSet(evSetMoviePosition, state);
 
-        if (video_driver_list && !gstrcmp(video_driver_list[0], "dxr3") && (((demuxer_t *)mpctx_get_demuxer(guiInfo.mpcontext))->file_format != DEMUXER_TYPE_MPEG_PS) && !gtkVfLAVC) {
+        if (video_driver_list && !gstrcmp(video_driver_list[0], "dxr3") && (guiInfo.mpcontext->demuxer->file_format != DEMUXER_TYPE_MPEG_PS) && !gtkVfLAVC) {
             gtkMessageBox(MSGBOX_FATAL, _(MSGTR_GUI_MSG_DXR3NeedsLavc));
             return False;
         }


More information about the MPlayer-cvslog mailing list