diff options
author | wm4 <wm4@nowhere> | 2013-07-02 12:18:04 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-02 12:19:16 +0200 |
commit | 3f3ffd0de4943a1ce8e5dd1fbf457bcba989fc2b (patch) | |
tree | f46693b5285f97bc3a24cfed58194caf669b8766 /core/mp_core.h | |
parent | e00621ac4605e96c9452f4d65216d0019f7e55cb (diff) | |
download | mpv-3f3ffd0de4943a1ce8e5dd1fbf457bcba989fc2b.tar.bz2 mpv-3f3ffd0de4943a1ce8e5dd1fbf457bcba989fc2b.tar.xz |
core: update metadata during playback, allow streams to export metadata
STREAM_CTRL_GET_METADATA will be used to poll for streamcast metadata.
Also add DEMUXER_CTRL_UPDATE_INFO, which could in theory be used by
demux_lavf.c. (Unfortunately, libavformat is too crappy to read metadata
mid-stream for mp3 or ogg, so we don't implement it.)
Diffstat (limited to 'core/mp_core.h')
-rw-r--r-- | core/mp_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/mp_core.h b/core/mp_core.h index 08f84dd817..600c56c4d6 100644 --- a/core/mp_core.h +++ b/core/mp_core.h @@ -226,6 +226,7 @@ typedef struct MPContext { double audio_delay; double last_heartbeat; + double last_metadata_update; double mouse_timer; unsigned int mouse_event_ts; |