summaryrefslogtreecommitdiffstats
path: root/stream/vcd_read_darwin.h
Commit message (Collapse)AuthorAgeFilesLines
* stream: remove VCD supportwm42014-06-011-210/+0
| | | | | | | | | If a single person complains, I will readd it. But I don't expect that this will happen. The main reason for removing this is that it's some of the most unclean code remaining, it's unmaintained, and I've never ever heard of someone using it.
* stream: kill start_pos, remove --sb optionwm42014-05-241-0/+1
| | | | | | | | | | | | | | | | | | | | stream.start_pos was needed for optical media only, and (apparently) not for very good reasons. Just get rid of it. For stream_dvd, we don't need to do anything. Byte seeking was already removed from it earlier. For stream_cdda and stream_vcd, emulate the start_pos by offsetting the stream pos as seen by the rest of mpv. The bits in discnav.c and loadfile.c were for dealing with the code seeking back to the start in demux.c. Handle this differently by assuming the demuxer is always initialized with the stream at start position, and instead seek back if initializing the demuxer fails. Remove the --sb option, which worked by modifying stream.start_pos. If someone really wants this option, it could be added back by creating a "slice" stream (actually ffmpeg already has such a thing).
* Kill all tabswm42014-04-131-108/+108
| | | | | | | | | | | I hate tabs. This replaces all tabs in all source files with spaces. The only exception is old-makefile. The replacement was made by running the GNU coreutils "expand" command on every file. Since the replacement was automatic, it's possible that some formatting was destroyed (but perhaps only if it was assuming that the end of a tab does not correspond to aligning the end to multiples of 8 spaces).
* stream: mp_msg conversionswm42013-12-211-35/+11
| | | | We also drop some slave mode stuff from stream_vcd.
* Split mpvcore/ into common/, misc/, bstr/wm42013-12-171-1/+1
|
* core: move contents to mpvcore (2/2)Stefano Pigozzi2013-08-061-1/+1
| | | | Followup commit. Fixes all the files references.
* stream: remove unused vcd functionswm42013-07-151-5/+0
| | | | Gets rid of warnings.
* Rename directories, move files (step 2 of 2)wm42012-11-121-2/+2
| | | | | | | | | | | | Finish renaming directories and moving files. Adjust all include statements to make the previous commit compile. The two commits are separate, because git is bad at tracking renames and content changes at the same time. Also take this as an opportunity to remove the separation between "common" and "mplayer" sources in the Makefile. ("common" used to be shared between mplayer and mencoder.)
* cleanup: Make vcd_seek_to_track() static in more filesreimar2011-06-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33436 b3059339-0415-0410-9bf9-f77b7e298cf2
* Try to fix VCD compilation on non-Linux systems.reimar2010-04-051-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31023 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark vcd_get_track_end () and vcd_read_toc() as static.diego2010-02-221-2/+2
| | | | | | | They are only used within the respective files. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30712 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add license header to all files missing it in the stream subdirectory.diego2010-01-301-0/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30468 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a few missing header #includes and #defines.diego2010-01-041-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30207 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-14/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing header #includes to fix 'make checkheaders'.diego2008-03-101-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26218 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing header #includes to fix 'make checkheaders'.diego2008-03-101-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26216 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add MPLAYER_ prefix to multiple inclusion guards.diego2008-02-221-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing multiple inclusion guards.diego2008-02-211-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26044 b3059339-0415-0410-9bf9-f77b7e298cf2
* Only read disc info once and save it for later using.ulion2007-12-151-17/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25406 b3059339-0415-0410-9bf9-f77b7e298cf2
* The buffer used for pread need be aligned, but currently it got an offset 23ulion2007-12-151-1/+1
| | | | | | | | | | | to the structure head. This will cause the pread always got random data on some machines (such as my iMac G5 PPC with 10.5 os) so can not play vcd. I also tried use DKIOCCDREAD ioctl call, but the result is same -- buffer need be aligned. It could be a bug of os x or its dev lib. Now fix this problem by move the buffer to a good aligned position in structure. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25404 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get end position of last track by adding its starting address with track size.ulion2007-12-151-2/+17
| | | | | | | On some darwin system, we can not get the lead out track info. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25403 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify and fix missing offset for Darwin vcd_get/set_msf functionsreimar2007-07-291-8/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23918 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make VCD work on little-endian macsreimar2007-07-291-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23916 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make vcd_get_track_end actually return the end, not the start on Darwinreimar2007-07-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23915 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make the vcd seek and get track end functions actually have an effectreimar2007-07-291-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23914 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix wrong return type in darwin VCD codereimar2007-07-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23911 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove completely pointless extra return statementsreimar2007-07-271-9/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23883 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some unused variables, patch by timwoj ieee org.diego2007-05-281-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23399 b3059339-0415-0410-9bf9-f77b7e298cf2
* introduce new 'stream' directory for all stream layer related components and ↵ben2006-07-311-0/+212
split them from libmpdemux git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19277 b3059339-0415-0410-9bf9-f77b7e298cf2