[vlc-commits] display: remove vout back-pointer
Rémi Denis-Courmont
git at videolan.org
Wed Jan 2 17:54:36 CET 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jan 2 12:29:54 2019 +0200| [f083d40daf150c30e8cd08e29479ca34129b40a4] | committer: Rémi Denis-Courmont
display: remove vout back-pointer
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f083d40daf150c30e8cd08e29479ca34129b40a4
---
src/video_output/display.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/video_output/display.c b/src/video_output/display.c
index ab2a594ea0..bbd7258c13 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -274,7 +274,6 @@ void vout_display_SendMouseMovedDisplayCoordinates(vout_display_t *vd, int m_x,
typedef struct {
vout_display_t display;
- vout_thread_t *vout;
bool is_splitter; /* Is this a video splitter */
/* */
@@ -735,7 +734,6 @@ static vout_display_t *DisplayNew(vout_thread_t *vout,
vout_display_GetDefaultDisplaySize(&osys->cfg.display.width,
&osys->cfg.display.height,
source, &osys->cfg);
- osys->vout = vout;
osys->is_splitter = is_splitter;
atomic_init(&osys->reset_pictures, false);
@@ -796,7 +794,7 @@ static vout_display_t *DisplayNew(vout_thread_t *vout,
goto error;
}
- var_SetBool(osys->vout, "viewpoint-changeable",
+ var_SetBool(vout, "viewpoint-changeable",
vd->fmt.projection_mode != PROJECTION_MODE_RECTANGULAR);
return vd;
error:
More information about the vlc-commits
mailing list