[vlc-devel] [PATCH 2/2] transcode: video: remove unused function
Alexandre Janniaux
ajanni at videolabs.io
Fri Feb 7 13:17:36 CET 2020
---
modules/stream_out/transcode/video.c | 20 --------------------
1 file changed, 20 deletions(-)
diff --git a/modules/stream_out/transcode/video.c b/modules/stream_out/transcode/video.c
index 592aaf54e9..a5ec642175 100644
--- a/modules/stream_out/transcode/video.c
+++ b/modules/stream_out/transcode/video.c
@@ -40,26 +40,6 @@
#include <math.h>
-static const video_format_t* filtered_video_format( sout_stream_id_sys_t *id,
- picture_t *p_pic )
-{
- assert( id && p_pic );
- const filter_chain_t * chains[] =
- {
- id->p_final_conv_static,
- id->p_uf_chain,
- id->p_conv_static,
- id->p_conv_nonstatic,
- id->p_f_chain,
- };
- for( size_t i=0; i<ARRAY_SIZE(chains); i++ )
- {
- if( chains[i] )
- return &filter_chain_GetFmtOut( chains[i] )->video;
- }
- return &p_pic->format;
-}
-
struct encoder_owner
{
encoder_t enc;
--
2.25.0
More information about the vlc-devel
mailing list