summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-04 19:46:28 +0100
committerwm4 <wm4@nowhere>2013-11-04 19:46:28 +0100
commitbb22bee31564754203be1cf318f6747d6f79db08 (patch)
treef86389c65aed7355e846ceb007034cdce8eae52b /video
parent383d8a8b60d0d289dd7cd8ad335ab90789c8fd2e (diff)
downloadmpv-bb22bee31564754203be1cf318f6747d6f79db08.tar.bz2
mpv-bb22bee31564754203be1cf318f6747d6f79db08.tar.xz
vo_opengl: cosmetics/fix typos
Diffstat (limited to 'video')
-rw-r--r--video/out/gl_common.h2
-rw-r--r--video/out/gl_video.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/video/out/gl_common.h b/video/out/gl_common.h
index 4722f3d52e..531cec37fb 100644
--- a/video/out/gl_common.h
+++ b/video/out/gl_common.h
@@ -191,7 +191,7 @@ struct gl_hwdec_driver {
// Called on initialization, and every time the video size changes.
int (*reinit)(struct gl_hwdec *hw, int w, int h);
// Return textures that contain the given hw_image.
- // Note that the caller keeps a reference to hw_image until unbind_image
+ // Note that the caller keeps a reference to hw_image until unload_image
// is called, so the callee doesn't need to do that.
int (*load_image)(struct gl_hwdec *hw, struct mp_image *hw_image,
GLuint *out_textures);
diff --git a/video/out/gl_video.c b/video/out/gl_video.c
index 46fcdd9dcc..9fd3040d51 100644
--- a/video/out/gl_video.c
+++ b/video/out/gl_video.c
@@ -1302,7 +1302,7 @@ static void init_video(struct gl_video *p)
if (p->hwdec_active) {
if (p->hwdec->driver->reinit(p->hwdec, p->image_w, p->image_h) < 0)
- MP_ERR(p, "Initializing hardware ddecoding video texture failed.\n");
+ MP_ERR(p, "Initializing hardware decoding video texture failed.\n");
}
reinit_rendering(p);