"When possible, the input stream will be recorded instead of using" \
"the stream output module" )
+#define INPUT_TIMESHIFT_PATH_TEXT N_("Timeshift directory")
+#define INPUT_TIMESHIFT_PATH_LONGTEXT N_( \
+ "Directory used to store the timeshift temporary files." )
+
+#define INPUT_TIMESHIFT_GRANULARITY_TEXT N_("Timeshift granularity")
+#define INPUT_TIMESHIFT_GRANULARITY_LONGTEXT N_( \
+ "This is the maximum size in bytes of the temporary files " \
+ "that will be used to store the timeshifted streams." )
+
// DEPRECATED
#define SUB_CAT_LONGTEXT N_( \
"These options allow you to modify the behavior of the subpictures " \
#define ACCESS_FILTER_TEXT N_("Access filter module")
#define ACCESS_FILTER_LONGTEXT N_( \
- "Access filters are used to modify the stream that is being read. " \
- "This is used for instance for timeshifting.")
+ "Access filters are used to modify the stream that is being read." )
+
+#define STREAM_FILTER_TEXT N_("Stream filter module")
+#define STREAM_FILTER_LONGTEXT N_( \
+ "Stream filters are used to modify the stream that is being read. " )
#define DEMUX_TEXT N_("Demux module")
#define DEMUX_LONGTEXT N_( \
add_bool( "input-record-native", true, NULL, INPUT_RECORD_NATIVE_TEXT,
INPUT_RECORD_NATIVE_LONGTEXT, true );
+ add_string( "input-timeshift-path", NULL, NULL, INPUT_TIMESHIFT_PATH_TEXT,
+ INPUT_TIMESHIFT_PATH_LONGTEXT, true );
+ add_integer( "input-timeshift-granularity", -1, NULL, INPUT_TIMESHIFT_GRANULARITY_TEXT,
+ INPUT_TIMESHIFT_GRANULARITY_LONGTEXT, true );
+
/* Decoder options */
add_category_hint( N_("Decoders"), CODEC_CAT_LONGTEXT , true )
add_string( "codec", NULL, NULL, CODEC_TEXT,
add_bool( "prefer-system-codecs", false, NULL, SYSTEM_CODEC_TEXT,
SYSTEM_CODEC_LONGTEXT, false );
+ set_subcategory( SUBCAT_INPUT_STREAM_FILTER )
+ add_module_list_cat( "stream-filter", SUBCAT_INPUT_STREAM_FILTER, NULL, NULL,
+ STREAM_FILTER_TEXT, STREAM_FILTER_LONGTEXT, false );
+
/* Stream output options */
set_category( CAT_SOUT )