Commit b4b52e92 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

timecode: fix and improve frame rates

parent 3ce32a80
...@@ -36,7 +36,8 @@ ...@@ -36,7 +36,8 @@
static int Open (vlc_object_t *); static int Open (vlc_object_t *);
static void Close (vlc_object_t *); static void Close (vlc_object_t *);
static const char *const fps_values[] = { "24/1", "25/1", "30/1001", "30/1" }; static const char *const fps_values[] = { "24/1", "25/1", "30000/1001", "30/1" };
static const char *const fps_texts[] = { "24", "25", "29.97", "30" };
vlc_module_begin () vlc_module_begin ()
set_shortname (N_("Time code")) set_shortname (N_("Time code"))
...@@ -47,7 +48,7 @@ vlc_module_begin () ...@@ -47,7 +48,7 @@ vlc_module_begin ()
set_callbacks (Open, Close) set_callbacks (Open, Close)
add_string ("timecode-fps", "25/1", FPS_TEXT, FPS_TEXT, false) add_string ("timecode-fps", "25/1", FPS_TEXT, FPS_TEXT, false)
change_string_list (fps_values, fps_values) change_string_list (fps_values, fps_texts)
change_safe () change_safe ()
vlc_module_end () vlc_module_end ()
......
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