[vlc-commits] Set title length and size.

Tobias Güntner git at videolan.org
Sat Dec 17 05:27:35 CET 2011


vlc | branch: master | Tobias Güntner <fatbull at web.de> | Sat Dec 17 05:11:30 2011 +0100| [06ef351ed404719e9698710ae0c8a925b08f0471] | committer: Jean-Baptiste Kempf

Set title length and size.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/access/vdr.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/access/vdr.c b/modules/access/vdr.c
index 383b5f6..fbf1358 100644
--- a/modules/access/vdr.c
+++ b/modules/access/vdr.c
@@ -822,6 +822,8 @@ static void ImportMarks( access_t *p_access )
         return;
     }
     p_marks->psz_name = strdup( _("VDR Cut Marks") );
+    p_marks->i_length = i_frame_count * (int64_t)( CLOCK_FREQ / p_sys->fps );
+    p_marks->i_size = p_access->info.i_size;
 
     /* offset for chapter positions */
     int i_chapter_offset = p_sys->fps / 1000 *



More information about the vlc-commits mailing list