mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 07:23:11 +02:00
generic-pc: fix exporting of vdec
This commit is contained in:
@@ -71,6 +71,8 @@ cVideo::cVideo(int, void *, void *, unsigned int)
|
|||||||
{
|
{
|
||||||
lt_debug("%s\n", __func__);
|
lt_debug("%s\n", __func__);
|
||||||
vdec = new VDec();
|
vdec = new VDec();
|
||||||
|
/* quick hack to export private stuff to other libstb-hal modules */
|
||||||
|
::vdec = vdec;
|
||||||
}
|
}
|
||||||
|
|
||||||
VDec::VDec()
|
VDec::VDec()
|
||||||
@@ -391,9 +393,9 @@ void cVideo::getPictureInfo(int &width, int &height, int &rate)
|
|||||||
|
|
||||||
void VDec::getPictureInfo(int &width, int &height, int &rate)
|
void VDec::getPictureInfo(int &width, int &height, int &rate)
|
||||||
{
|
{
|
||||||
width = vdec->dec_w;
|
width = dec_w;
|
||||||
height = vdec->dec_h;
|
height = dec_h;
|
||||||
rate = vdec->dec_r;
|
rate = dec_r;
|
||||||
}
|
}
|
||||||
|
|
||||||
void cVideo::SetSyncMode(AVSYNC_TYPE)
|
void cVideo::SetSyncMode(AVSYNC_TYPE)
|
||||||
|
Reference in New Issue
Block a user