view mpcommon.h @ 26274:415bec20d8d0

We currently use %U as argument to the Exec entry to indicate that gmplayer handles URLs. However, gmplayer fails to open files with spaces in the filename when launched from a file manager in this way. Changing %U to %F works around this issue successfully while still working with URLs. While this may not be a completely satisfactory solution, it is already deployed in distributions and a better solution is unlikely to appear. patch by Andrew Strong, andrew.david.45 gmail com
author diego
date Mon, 31 Mar 2008 16:20:08 +0000
parents 83c95bd31aab
children 9d53b15aed02
line wrap: on
line source

#ifndef MPLAYER_MPCOMMON_H
#define MPLAYER_MPCOMMON_H

#include "subreader.h"
#include "libmpdemux/demuxer.h"
#include "libmpdemux/stheader.h"

extern double sub_last_pts;
extern struct ass_track_s *ass_track;
extern subtitle *vo_sub_last;
void update_subtitles(sh_video_t *sh_video, demux_stream_t *d_dvdsub, int reset);
void update_teletext(sh_video_t *sh_video, demuxer_t *demuxer, int reset);
int select_audio(demuxer_t* demuxer, int audio_id, char* audio_lang);

#endif /* MPLAYER_MPCOMMON_H */