[vlc-commits] rawdv: drop priority to zero
Rémi Denis-Courmont
git at videolan.org
Fri Sep 25 18:05:55 CEST 2020
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Sep 25 17:10:53 2020 +0300| [f65b6e45e500f1e03a8804760686c872fc0f837d] | committer: Rémi Denis-Courmont
rawdv: drop priority to zero
This is effectively the same as requiring the force flag be set,
but it avoids loading the module.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f65b6e45e500f1e03a8804760686c872fc0f837d
---
modules/demux/rawdv.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/modules/demux/rawdv.c b/modules/demux/rawdv.c
index 2fbd661563..4c02cd1a0d 100644
--- a/modules/demux/rawdv.c
+++ b/modules/demux/rawdv.c
@@ -48,7 +48,7 @@ static void Close( vlc_object_t * );
vlc_module_begin ()
set_shortname( "DV" )
set_description( N_("DV (Digital Video) demuxer") )
- set_capability( "demux", 3 )
+ set_capability( "demux", 0 )
set_category( CAT_INPUT )
set_subcategory( SUBCAT_INPUT_DEMUX )
add_bool( "rawdv-hurry-up", false, HURRYUP_TEXT, HURRYUP_LONGTEXT, false )
@@ -136,9 +136,6 @@ static int Open( vlc_object_t * p_this )
dv_header_t dv_header;
dv_id_t dv_id;
- if( !p_demux->obj.force )
- return VLC_EGENERIC;
-
if( vlc_stream_Peek( p_demux->s, &p_peek, DV_PAL_FRAME_SIZE ) <
DV_NTSC_FRAME_SIZE )
return VLC_EGENERIC;
More information about the vlc-commits
mailing list