[vlc-commits] vout: remove constant value
Rémi Denis-Courmont
git at videolan.org
Sun Feb 24 14:57:55 CET 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Feb 24 15:57:35 2019 +0200| [114b1c1b86df4806f3c1d7344a8cc1e02e105748] | committer: Rémi Denis-Courmont
vout: remove constant value
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=114b1c1b86df4806f3c1d7344a8cc1e02e105748
---
src/video_output/snapshot.c | 3 +--
src/video_output/video_output.c | 1 -
src/video_output/vout_internal.h | 3 ---
3 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/video_output/snapshot.c b/src/video_output/snapshot.c
index 031a997884..92b5886dc8 100644
--- a/src/video_output/snapshot.c
+++ b/src/video_output/snapshot.c
@@ -175,12 +175,11 @@ int vout_snapshot_SaveImage(char **name, int *sequential,
{
/* */
char *filename;
- input_thread_t *input = (input_thread_t*)p_vout->p->input;
/* */
char *prefix = NULL;
if (cfg->prefix_fmt)
- prefix = str_format(input, NULL, cfg->prefix_fmt);
+ prefix = str_format(NULL, NULL, cfg->prefix_fmt);
if (prefix)
filename_sanitize(prefix);
else {
diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index b75dadb5d2..73a5fa5eb9 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -1679,7 +1679,6 @@ vout_thread_t *vout_Create(vlc_object_t *object)
var_SetString(vout, "window", "wdummy");
}
- sys->input = NULL;
sys->original.i_chroma = 0;
sys->source.dar.num = 0;
sys->source.dar.den = 0;
diff --git a/src/video_output/vout_internal.h b/src/video_output/vout_internal.h
index f0506e69a1..64605831ce 100644
--- a/src/video_output/vout_internal.h
+++ b/src/video_output/vout_internal.h
@@ -63,9 +63,6 @@ struct vout_thread_sys_t
/* Splitter module if used */
char *splitter_name;
- /* Input thread for spu attachments */
- input_thread_t *input;
-
/* */
video_format_t original; /* Original format ie coming from the decoder */
struct {
More information about the vlc-commits
mailing list