Commit 73eeb8ab authored by Tobias Güntner's avatar Tobias Güntner Committed by Jean-Baptiste Kempf

Set title length and size.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 06ef351ed404719e9698710ae0c8a925b08f0471)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent fd07c038
...@@ -822,6 +822,8 @@ static void ImportMarks( access_t *p_access ) ...@@ -822,6 +822,8 @@ static void ImportMarks( access_t *p_access )
return; return;
} }
p_marks->psz_name = strdup( _("VDR Cut Marks") ); 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 */ /* offset for chapter positions */
int i_chapter_offset = p_sys->fps / 1000 * int i_chapter_offset = p_sys->fps / 1000 *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment