1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 12:55:16 +00:00
Commit Graph

349 Commits

Author SHA1 Message Date
reimar
2ea3b5fdb0 Make VCD work on little-endian macs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23916 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 15:37:30 +00:00
reimar
1c67c05e8c Make vcd_get_track_end actually return the end, not the start on Darwin
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23915 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 15:35:52 +00:00
reimar
5bcef8f16b Make the vcd seek and get track end functions actually have an effect
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23914 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 14:42:07 +00:00
reimar
0f4796adaa Fix wrong return type in darwin VCD code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23911 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 12:41:22 +00:00
voroshil
61bce335f7 Replacing global variables in radio:// with
context-sensitive structure.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23910 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 12:20:25 +00:00
voroshil
db734dcc15 Removing global variables from tv://
Step 8 (last): removing old globals from tv.c, tv.h,
fixing remaining references in cfg-common.h and mplayer.c



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23909 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 10:30:41 +00:00
voroshil
a890471f6d Removing global variables from tv://
Step 7: replacing old globals with new structure in stream_pvr.c



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23908 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 10:25:10 +00:00
voroshil
758e3ef39c Removing global variables from tv://
Step 6: removing references to old globals from tv.c



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23907 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 10:22:39 +00:00
voroshil
3a1756d7e6 Removing global variables from tv://
Step 5: removing references to old globals from tvi_v4l2.c



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23906 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 10:21:48 +00:00
voroshil
7b4a1214ed Removing global variables from tv://
Step 4: removing references to old globals from tvi_v4l.c



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23905 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 10:21:00 +00:00
voroshil
f59e46baca Removing global variables from tv://
Step 3: removing references to old globals from tvi_bsdbt848.c



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23904 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 10:20:05 +00:00
voroshil
7cdc5ad4fe Removing global variables from tv://
Step 2: fixing tv subdrivers initialization.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23903 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 10:18:38 +00:00
voroshil
b7adae655f Removing global variables from tv://
Step 1: introducing new structure, fixing tv:// stream



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23902 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 10:11:24 +00:00
voroshil
487d4927e2 Removing forward declarations of routines used only in tv.c
Marking above routines as static
Removing unfaithful comment



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23901 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 03:55:12 +00:00
voroshil
d68160b3c2 Cosmetics.
10l: forget to move up second routine



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23900 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 03:38:01 +00:00
voroshil
96addffa41 Cosmetics: move two routines up
to avoid requirement of forward declarations.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23899 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 03:33:39 +00:00
diego
22fc24fe56 cosmetics: misc typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23893 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-28 14:28:38 +00:00
reimar
b9c8b4fbcd Remove completely pointless extra return statements
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23883 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 19:25:51 +00:00
reimar
5d70f50109 Fix MSF -> sector conversion being 150 sectors of
(pregap or whatever it is called)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23882 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 18:51:07 +00:00
reimar
63e8a30682 Simplify track length calculation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23881 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 18:47:44 +00:00
reimar
fec1bd1a56 Some more *BSD vcd_read simplification
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23880 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 18:34:09 +00:00
reimar
def6db4b62 Fix several 100l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23879 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 18:31:50 +00:00
reimar
9ba43bdd88 Factor out some common code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23878 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 18:04:52 +00:00
reimar
bd77635966 Somewhat unified *BSD vcd reading
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23877 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 17:37:53 +00:00
reimar
f82f6553f3 READ_TOC for making *BSD code more similar
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23876 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 17:18:03 +00:00
reimar
8987d1ade2 One ifdef less
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23874 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 17:02:56 +00:00
reimar
adce32de93 Simplify NetBSD vcd_read code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23873 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 16:59:41 +00:00
reimar
37c39a9f74 vcd_inc_msf function also for freebsd vcd_read
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23872 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 16:34:52 +00:00
reimar
647514eb73 More VCD cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23871 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 08:49:14 +00:00
reimar
d10cfcf015 100l, return is missing a value
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23870 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-26 23:19:36 +00:00
reimar
51235ecd97 Cosmetics to reduce diff between Free- and netBSD vcd stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23869 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-26 23:15:54 +00:00
reimar
8db1b6a63c 10l, fix vcd netbsd compilation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23868 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-26 23:13:30 +00:00
reimar
2134bb4673 TOCADDR macro as first step to common *BSD vcd reading code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23867 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-26 22:51:23 +00:00
diego
93847cc5fc Remove unnecessary #ifdef around the whole file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23756 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-09 20:40:47 +00:00
diego
5d24fef60f Remove unnecessary #ifdef around the whole file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23755 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-09 20:40:18 +00:00
diego
b000a6a519 ISO8859-1 --> UTF-8
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23754 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-09 19:50:36 +00:00
voroshil
128ff990e9 Remove unnecessary flip for RGB in v4l1.
Patch was provided and tested by Trent Piepho xyzzy at speakeasy dot org.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23744 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-08 13:30:33 +00:00
reimar
4c4a1070fe Avoid code duplication and ugly config.h hack by using av_strlcat/av_strlcpy
instead of plain strlcat/strlcpy


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23723 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-05 22:01:07 +00:00
diego
f4e02c38cb Cygwin has had inttypes.h since version 1.5.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23712 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-03 08:28:44 +00:00
diego
f1ead29ad9 The file is compiled conditional to USE_DVDREAD so the #ifdef USE_DVDREAD
in the file are senseless.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23711 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-03 08:24:01 +00:00
diego
8f9c3308ed The header is always included conditional to USE_DVDREAD,
no need to duplicate the #ifdef.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23710 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-03 08:22:39 +00:00
diego
3e9e4acd8d Do not use leading underscores in multiple inclusion guards, they are reserved.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23709 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-02 22:34:45 +00:00
voroshil
04006396a0 Cosmetics.
Reindent line, remove trailing spaces.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23698 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-30 10:59:55 +00:00
voroshil
f0ca43a600 Don't override input= option value is no input id is passed in tv:// url.
Remove debug fprintf



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23697 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-30 10:56:05 +00:00
rtogni
59a387a829 wvx files (mimetype video/x-ms-wvx) are asx playlists. Fix bugzilla #750
http://www.ntt-fukushima.com/sora/mado_live/jr_aizu/gazai/jrwaka500k.wvx 

Patch by Sergey Svishchev | svs ropnet ru | on bugzilla


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23695 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-29 21:21:57 +00:00
voroshil
dd2ef6be51 remove file that was added by mistake.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23688 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-29 08:56:50 +00:00
voroshil
6aea0fb430 Implemented tv://[<channel>][/<input_id>] url syntax
to allow users start watching from S-Video or Composite 
input without touching '-tv input=' option.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23687 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-28 18:36:05 +00:00
rtogni
cc44f564e8 start= and end= parameters on realrtspurls may be optionally quoted with
", skip the quoting if it's there.
Fixes rtsp://rmv8.bbc.net.uk/bbc7/2300_tue.ra?start="30:00" from 
bugzilla #850


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23661 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 18:46:41 +00:00
reimar
5fa17cb7f2 get rid of useless *alloc casts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23649 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 13:27:03 +00:00
reimar
865605639c Fix dvd:// subtitle handling to always report the MPEG stream id, because
this is the only thing the remaining parts of MPlayer care about.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23621 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 08:14:10 +00:00