summaryrefslogtreecommitdiffstats
path: root/sub/osd_dummy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sub/osd_dummy.c')
-rw-r--r--sub/osd_dummy.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sub/osd_dummy.c b/sub/osd_dummy.c
index 782ce21942..a330c63982 100644
--- a/sub/osd_dummy.c
+++ b/sub/osd_dummy.c
@@ -23,3 +23,10 @@ void osd_object_get_bitmaps(struct osd_state *osd, struct osd_object *obj,
{
*out_imgs = (struct sub_bitmaps) {0};
}
+
+void osd_object_get_resolution(struct osd_state *osd, struct osd_object *obj,
+ int *out_w, int *out_h)
+{
+ *out_w = 0;
+ *out_h = 0;
+}