reimar
baae4d1add
Save the new width and height earlier so that e.g. -geometry 30x30-50-50
...
gives the correct behaviour - before placement would depend on the
original movie size instead of the one scaled according to -geometry.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30823 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-03 21:01:57 +00:00
reimar
90188f0e5f
Add support for specifying window position relative to right and bottom
...
screen borders with -geometry.
Based on patch by Melchior FRANZ [melchior franz gmail com].
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30822 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-03 20:57:56 +00:00
reimar
0833aaa64d
Simplify sscanf format strings and get rid of useless percent variable.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30821 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-03 20:36:35 +00:00
reimar
55b3c6f090
Avoid very deep indentation level and RESET_GEOMETRY macro in -geometry
...
parsing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30820 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-03 20:24:46 +00:00
komh
9beeeb1a9e
Add a VCD support for OS/2
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30819 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-03 14:32:29 +00:00
diego
c106fe7751
Drop support for old-style DVB code.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30818 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-02 19:57:17 +00:00
rectalogic
d83eddc2a8
Remove RTSP_MUXER from libavmuxers to fix compilation with --disable-network
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30817 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-02 17:18:55 +00:00
diego
e27159e748
Add CONFIG_LSP to config.h for libavcodec compilation.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30816 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-02 16:29:21 +00:00
reimar
be23797ee7
Remove unused and useless define.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30815 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-01 21:09:17 +00:00
reimar
3fa6717fb9
Fix memleak due to strdup'd filename not being freed.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30814 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-01 20:38:33 +00:00
reimar
cd4aa2aa30
Move functions into proper order to avoid extra declarations.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30813 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-01 20:33:47 +00:00
reimar
3ed38bacc4
Deduplicate code to set stream start_pos/end_pos.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30812 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-01 20:31:56 +00:00
reimar
4b7c452ce8
Set stream->pos correctly after seeking to a VCD title.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30811 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-01 20:22:18 +00:00
reimar
ea139fadc1
Ensure that cue_current_pos.track is not set to an invalid value after
...
attempting to seek to e.g. track 0.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30810 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-01 20:20:13 +00:00
reimar
20fcc5c6ef
Fix off-by-one error in chapter<->VCD track conversion.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30809 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-01 20:11:11 +00:00
reimar
4464a64ff7
Fix cue_read_toc_entry to also reject negative track numbers
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30808 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-01 20:07:37 +00:00
reimar
686565165f
Implement cue:// track switching via chapter forward/backward like for audio CDs.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30807 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-01 19:59:54 +00:00
reimar
592af7cd2c
Fix cue_vcd_get_track_end to not change the current position.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30806 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-01 19:57:42 +00:00
reimar
f2740450d3
Avoid fd_bin and fd_cue global variables.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30805 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-01 19:35:18 +00:00
reimar
3fc8335a86
Avoid a global variable and a strcpy.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30804 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-01 19:25:52 +00:00
reimar
2b91c7f044
Reindent.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30803 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-01 19:21:59 +00:00
reimar
2a6755e10d
Avoid code duplication and excessively deep nesting in cue_find_bin
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30802 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-01 19:20:32 +00:00
reimar
7d48f09b39
Use sizeof instead of hardcoded size.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30801 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-01 18:57:24 +00:00
cehoyos
2acd36c48e
Documentation: Add linebreak and try to be less ambiguous.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30800 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-28 17:39:30 +00:00
reimar
b20e08ed94
Extend stream_read_line to support reading lines from UTF-16 encoded files
...
and use this to support reading UTF-16 encoded subtitle files in subreader.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30799 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-28 15:24:30 +00:00
reimar
e9a5e7f667
sub_utf8 is handled as a value, not flags everywhere else, so change
...
sub_utf8 & 2 to == 2.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30798 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-28 14:27:44 +00:00
reimar
9538251171
Make array describing the subtitle reader modules const.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30797 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-28 14:22:44 +00:00
reimar
c89169f7b5
Move stream_read_line implementation from stream.h to stream.c,
...
it is not speed critical and the function call overhead is not
relevant for its overall speed anyway.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30796 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-28 13:54:55 +00:00
reimar
d8c02c2dd2
Simplify handling of 0-termination in stream_read_line
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30795 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-28 12:54:12 +00:00
reimar
2c8d69f185
Remove useless cast.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30794 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-28 11:30:35 +00:00
reimar
62cc3b452b
Use negative return values for errors in pls_read_entry to make it match
...
with the checks later on.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30793 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-28 09:41:07 +00:00
reimar
7e23f68cf7
A playlist entry number of 0 is invalid for pls playlists.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30792 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-28 09:39:30 +00:00
reimar
4a432dc1ee
Improve integer overflow and realloc error handling in playlist parser.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30791 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-28 09:37:35 +00:00
reimar
e86ecdac03
Reuse the keyframe flag from x264 instead of trying to derive it on our own.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30790 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-28 07:52:34 +00:00
reimar
4d08f30d25
Use the KEYFRAME define instead of some magic number.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30789 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-28 07:45:23 +00:00
komh
35fbd55c0f
Add cddb:// support for OS/2
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30788 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-28 03:26:18 +00:00
cehoyos
ba66200023
Make sws_dcVec static: It is only used inside libswscale/utils.c.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30787 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-28 02:18:16 +00:00
cehoyos
6c0da216d7
Get rid of many ugly casts.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30786 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-28 01:06:09 +00:00
cehoyos
fd21cdeb47
Make close_toolame() static, only used in ae_toolame.c.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30785 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-28 00:28:14 +00:00
reimar
6961b9ef70
Add support for reading key events from MinGW xterm.
...
Unfortunately keys only arrive after enter was pressed
and SetNamedPipeHandleState does not seem to help.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30784 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-28 00:24:01 +00:00
cehoyos
aa4388fea4
Make close_twolame() static, only used in ae_twolame.c.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30783 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-28 00:23:58 +00:00
cehoyos
d59123f10d
Fix warning "missing braces around initializer".
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30782 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-27 23:23:34 +00:00
cehoyos
70b070baa2
Remove unused functions.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30781 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-27 23:14:44 +00:00
reimar
490a015043
Make -slave also work with the normal console on Windows.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30780 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-27 23:12:34 +00:00
reimar
67f9e11d93
Support all line ending types in mp_input_read_cmd.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30779 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-27 23:09:15 +00:00
cehoyos
5a1eca395c
Actually use existing uninit() function in remove_logo filter.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30778 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-27 22:32:25 +00:00
reimar
5f25eaf3d2
Do not misuse the stdin name.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30777 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-27 21:50:59 +00:00
reimar
27306a18db
Include getch2.h to get rid of some warnings.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30776 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-27 21:47:45 +00:00
cehoyos
d1b81c6c1c
Fix cd_info_new() prototype.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30775 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-27 21:32:33 +00:00
cehoyos
c44915814c
Remove unused static function mp_mp3_get_lsf().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30774 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-27 21:29:06 +00:00