summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-14 23:02:45 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-14 23:02:45 +0000
commit2518620787eaad6b84c0edbdea683a9338d56199 (patch)
tree7d0bed4c447620580fe7233c474ddfbaaff3dda3 /mplayer.c
parentd2673b6e3b98e23947c7e87656f48a1679c6be41 (diff)
downloadmpv-2518620787eaad6b84c0edbdea683a9338d56199.tar.bz2
mpv-2518620787eaad6b84c0edbdea683a9338d56199.tar.xz
- add dxr3 gui support (dialogbox, etc.)
- fix one small dvd playing bug ( dvd playing don't del the playlist) - add some ifdef() check git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7010 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/mplayer.c b/mplayer.c
index eb97a0bd7b..dbe390e51a 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -815,9 +815,9 @@ if(!use_stdin && !slave_mode){
guiGetEvent( guiSetDefaults,NULL );
if ( ( guiIntfStruct.FilenameChanged || !filename )
-#ifdef USE_DVDREAD
- && ( guiIntfStruct.StreamType != STREAMTYPE_DVD )
-#endif
+//#ifdef USE_DVDREAD
+// && ( guiIntfStruct.StreamType != STREAMTYPE_DVD )
+//#endif
)
{
play_tree_t * entry = play_tree_new();
@@ -1358,7 +1358,8 @@ fflush(stdout);
guiGetEvent( guiSetFileName,filename );
if ( sh_audio ) guiIntfStruct.AudioType=sh_audio->channels; else guiIntfStruct.AudioType=0;
if ( !sh_video && sh_audio ) guiGetEvent( guiSetAudioOnly,(char *)1 ); else guiGetEvent( guiSetAudioOnly,(char *)0 );
- guiGetEvent( guiSetValues,(char *)sh_video );
+ guiGetEvent( guiSetFileFormat,(char *)demuxer->file_format );
+ if ( guiGetEvent( guiSetValues,(char *)sh_video ) ) goto goto_next_file;
}
#endif