mirror of https://github.com/mpv-player/mpv
stream: move VCD specific stuff to stream_vcd
I don't even know what VCDs are. A prehistoric version of the DVD or so.
This commit is contained in:
parent
7b16d4b3b2
commit
f7c912dff2
|
@ -55,7 +55,6 @@
|
|||
#include "cache2.h"
|
||||
|
||||
/// We keep these 2 for the gui atm, but they will be removed.
|
||||
int vcd_track = 0;
|
||||
char *cdrom_device = NULL;
|
||||
char *dvd_device = NULL;
|
||||
int dvd_title = 0;
|
||||
|
|
|
@ -57,10 +57,6 @@
|
|||
#define STREAM_BUFFER_SIZE 2048
|
||||
#define STREAM_MAX_SECTOR_SIZE (8 * 1024)
|
||||
|
||||
#define VCD_SECTOR_SIZE 2352
|
||||
#define VCD_SECTOR_OFFS 24
|
||||
#define VCD_SECTOR_DATA 2324
|
||||
|
||||
/// atm it will always use mode == STREAM_READ
|
||||
/// streams that use the new api should check the mode at open
|
||||
#define STREAM_READ 0
|
||||
|
|
|
@ -37,6 +37,10 @@
|
|||
|
||||
#include "talloc.h"
|
||||
|
||||
#define VCD_SECTOR_SIZE 2352
|
||||
#define VCD_SECTOR_OFFS 24
|
||||
#define VCD_SECTOR_DATA 2324
|
||||
|
||||
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
#include "vcd_read_fbsd.h"
|
||||
#elif defined(__APPLE__)
|
||||
|
|
Loading…
Reference in New Issue