diff options
author | wm4 <wm4@nowhere> | 2018-09-07 15:12:24 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-09-19 20:37:04 +0200 |
commit | b9be20b529de8f47e795d9a869299548d8788528 (patch) | |
tree | 039e425a0a945a703b0ac8aee94b37308c7e74cc /demux/packet.h | |
parent | 8a83430ae77602feb0db4f9cacc8d6d9f63534ce (diff) | |
download | mpv-b9be20b529de8f47e795d9a869299548d8788528.tar.bz2 mpv-b9be20b529de8f47e795d9a869299548d8788528.tar.xz |
demux: return packets directly from demuxer instead of using sh_stream
Preparation for other potential changes to separate demuxer cache/thread
and actual demuxers.
Most things are untested, but it seems to work somewhat.
Diffstat (limited to 'demux/packet.h')
-rw-r--r-- | demux/packet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/packet.h b/demux/packet.h index 4d34b3d766..7c5b04720f 100644 --- a/demux/packet.h +++ b/demux/packet.h @@ -33,7 +33,7 @@ typedef struct demux_packet { bool keyframe; int64_t pos; // position in source file byte stream - int stream; // source stream index + int stream; // source stream index (typically sh_stream.index) // segmentation (ordered chapters, EDL) bool segmented; |