[vlc-commits] access: clearing info.i_update is the owner's job, not the plugin's

Rémi Denis-Courmont git at videolan.org
Sun Aug 25 12:05:10 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Aug 25 12:49:00 2013 +0300| [86d3a929643ea1b9f5d1f339b483da2a89e26951] | committer: Rémi Denis-Courmont

access: clearing info.i_update is the owner's job, not the plugin's

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=86d3a929643ea1b9f5d1f339b483da2a89e26951
---

 modules/access/dshow/dshow.cpp |    2 --
 modules/access/rtsp/access.c   |    1 -
 modules/access/vcd/vcd.c       |    1 -
 modules/access/vcdx/access.c   |    1 -
 4 files changed, 5 deletions(-)

diff --git a/modules/access/dshow/dshow.cpp b/modules/access/dshow/dshow.cpp
index 0647550..4277ca9 100644
--- a/modules/access/dshow/dshow.cpp
+++ b/modules/access/dshow/dshow.cpp
@@ -699,7 +699,6 @@ static int DemuxOpen( vlc_object_t *p_this )
 
     p_demux->pf_demux   = Demux;
     p_demux->pf_control = DemuxControl;
-    p_demux->info.i_update = 0;
     p_demux->info.i_title = 0;
     p_demux->info.i_seekpoint = 0;
 
@@ -813,7 +812,6 @@ static int AccessOpen( vlc_object_t *p_this )
     p_access->pf_block = ReadCompressed;
     p_access->pf_control = AccessControl;
     p_access->pf_seek = NULL;
-    p_access->info.i_update = 0;
     p_access->info.i_pos = 0;
     p_access->info.b_eof = false;
     p_access->info.i_title = 0;
diff --git a/modules/access/rtsp/access.c b/modules/access/rtsp/access.c
index 03c3114..c9a8625 100644
--- a/modules/access/rtsp/access.c
+++ b/modules/access/rtsp/access.c
@@ -159,7 +159,6 @@ static int Open( vlc_object_t *p_this )
     p_access->pf_block = BlockRead;
     p_access->pf_seek = Seek;
     p_access->pf_control = Control;
-    p_access->info.i_update = 0;
     p_access->info.i_pos = 0;
     p_access->info.b_eof = false;
     p_access->info.i_title = 0;
diff --git a/modules/access/vcd/vcd.c b/modules/access/vcd/vcd.c
index da133d4..9b16019 100644
--- a/modules/access/vcd/vcd.c
+++ b/modules/access/vcd/vcd.c
@@ -194,7 +194,6 @@ static int Open( vlc_object_t *p_this )
     p_access->pf_control = Control;
     p_access->pf_seek    = Seek;
 
-    p_access->info.i_update    = 0;
     p_access->info.b_eof       = false;
 
     p_access->info.i_title     = i_title;
diff --git a/modules/access/vcdx/access.c b/modules/access/vcdx/access.c
index ba114ef..2bf27aa 100644
--- a/modules/access/vcdx/access.c
+++ b/modules/access/vcdx/access.c
@@ -852,7 +852,6 @@ VCDOpen ( vlc_object_t *p_this )
     p_access->pf_control       = VCDControl;
     p_access->pf_seek          = VCDSeek;
 
-    p_access->info.i_update    = 0;
     p_access->info.i_pos       = 0;
     p_access->info.b_eof       = false;
     p_access->info.i_title     = 0;



More information about the vlc-commits mailing list