projects
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb6ac64
)
taglib: Enable prefetch/cache on the IOStream
author
Hugo Beauzée-Luyssen
<hugo@beauzee.fr>
Tue, 8 Oct 2019 15:21:20 +0000
(17:21 +0200)
committer
Sebastian Ramacher
<sramacher@debian.org>
Tue, 21 Jan 2025 18:02:47 +0000
(19:02 +0100)
We can't do it through vlc_stream_NewURL as it will include the
skiptags filter
(cherry picked from commit
976cd219465a72daa02d22e60c9ac4c704c0b18b
)
Gbp-Pq: Name 0036-taglib-Enable-prefetch-cache-on-the-IOStream.patch
modules/meta_engine/taglib.cpp
patch
|
blob
|
history
diff --git
a/modules/meta_engine/taglib.cpp
b/modules/meta_engine/taglib.cpp
index adf3a244ddc9724dfd0c653ba7eb0285b7ce6169..31ab83984991feb5e1e61dd657e16eea24daaa1b 100644
(file)
--- a/
modules/meta_engine/taglib.cpp
+++ b/
modules/meta_engine/taglib.cpp
@@
-904,6
+904,9
@@
static int ReadMeta( vlc_object_t* p_this)
free( psz_uri );
if( p_stream == NULL )
return VLC_EGENERIC;
+ stream_t* p_filter = vlc_stream_FilterNew( p_stream, "prefetch,cache" );
+ if( p_filter )
+ p_stream = p_filter;
VlcIostream s( p_stream );
f = FileRef( &s );