diff options
author | Johns <johns98@gmx.net> | 2013-01-01 15:21:28 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2013-01-01 15:21:28 +0100 |
commit | 3d5e59a6e516dd58d0e93d283787a1f54515ece1 (patch) | |
tree | 43bcf98b0d5f12b4297d5c7b71c3199d987b0958 /softhddev.c | |
parent | acf377ec601f4a7b904e7aa85e9ef48ed5231e45 (diff) | |
download | vdr-plugin-softhddevice-3d5e59a6e516dd58d0e93d283787a1f54515ece1.tar.gz vdr-plugin-softhddevice-3d5e59a6e516dd58d0e93d283787a1f54515ece1.tar.bz2 |
Support multiple streams with ScaleVideo.
Diffstat (limited to 'softhddev.c')
-rw-r--r-- | softhddev.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/softhddev.c b/softhddev.c index 61b6258..4c99b7d 100644 --- a/softhddev.c +++ b/softhddev.c @@ -1,7 +1,7 @@ /// /// @file softhddev.c @brief A software HD device plugin for VDR. /// -/// Copyright (c) 2011, 2013 by Johns. All Rights Reserved. +/// Copyright (c) 2011 - 2013 by Johns. All Rights Reserved. /// /// Contributor(s): /// @@ -2836,3 +2836,18 @@ void GetStats(int *missed, int *duped, int *dropped, int *counter) VideoGetStats(MyHwDecoder, missed, duped, dropped, counter); } } + +/** +** Scale the currently shown video. +** +** @param x video window x coordinate OSD relative +** @param y video window y coordinate OSD relative +** @param width video window width OSD relative +** @param height video window height OSD relative +*/ +void ScaleVideo(int x, int y, int width, int height) +{ + if (MyHwDecoder) { + VideoSetOutputPosition(MyHwDecoder, x, y, width, height); + } +} |