[vlc-commits] Set title length and size.
Tobias Güntner
git at videolan.org
Sat Dec 17 14:04:35 CET 2011
vlc/vlc-1.2 | branch: master | Tobias Güntner <fatbull at web.de> | Sat Dec 17 05:11:30 2011 +0100| [73eeb8ab1b9939f97eb68d53686a45c177dbdc1d] | committer: Jean-Baptiste Kempf
Set title length and size.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 06ef351ed404719e9698710ae0c8a925b08f0471)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=73eeb8ab1b9939f97eb68d53686a45c177dbdc1d
---
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