[vlc-commits] record: use input_item_CreateFileName

Thomas Guillem git at videolan.org
Mon Jun 3 16:16:25 CEST 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri May 31 12:39:48 2019 +0200| [c5891b0c114e3397eb277ce00b8d1b5b91cca400] | committer: Thomas Guillem

record: use input_item_CreateFileName

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

 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 );
 



More information about the vlc-commits mailing list