[vlc-devel] [PATCH 09/20] record: use input_item_CreateFileName

Thomas Guillem thomas at gllm.fr
Fri May 31 15:59:35 CEST 2019


---
 modules/stream_filter/record.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/stream_filter/record.c b/modules/stream_filter/record.c
index 43d71498c0..18479ecd39 100644
--- a/modules/stream_filter/record.c
+++ b/modules/stream_filter/record.c
@@ -32,7 +32,7 @@
 
 #include <assert.h>
 #include <vlc_stream.h>
-#include <vlc_input.h>
+#include <vlc_input_item.h>
 #include <vlc_fs.h>
 
 
@@ -179,8 +179,8 @@ static int Start( stream_t *s, const char *psz_extension )
 
     /* Create file name
      * TODO allow prefix configuration */
-    psz_file = input_CreateFilename( NULL, s->p_input_item, psz_path,
-                                     INPUT_RECORD_PREFIX, psz_extension );
+    psz_file = input_item_CreateFilename( s->p_input_item, psz_path,
+                                          INPUT_RECORD_PREFIX, psz_extension );
 
     free( psz_path );
 
-- 
2.20.1



More information about the vlc-devel mailing list