summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_dvd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c
index ff91ca2083..c5b027733e 100644
--- a/stream/stream_dvd.c
+++ b/stream/stream_dvd.c
@@ -737,6 +737,11 @@ static int control(stream_t *stream,int cmd,void* arg)
return 1;
break;
}
+ case STREAM_CTRL_GET_ASPECT_RATIO:
+ {
+ *((double *)arg) = !d->vts_file->vtsi_mat->vts_video_attr.display_aspect_ratio ? 4.0/3.0 : 16.0/9.0;
+ return 1;
+ }
}
return STREAM_UNSUPPORTED;
}