After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 670143 - d3dvideosink doesn't compile
d3dvideosink doesn't compile
Status: RESOLVED DUPLICATE of bug 656905
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Windows
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-02-15 15:24 UTC by LRN
Modified: 2012-02-22 04:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description LRN 2012-02-15 15:24:17 UTC
After http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/sys/d3dvideosink?id=0c5037072ad18394188960a6c4d346f22609a864
i get the following errors:
cc1.exe: warnings being treated as errors
d3dvideosink.c: In function 'gst_d3dvideosink_get_caps':
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_UNKNOWN' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_R8G8B8' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_A8R8G8B8' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_X8R8G8B8' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_R5G6B5' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_X1R5G5B5' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_A1R5G5B5' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_A4R4G4B4' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_R3G3B2' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_A8' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_A8R3G3B2' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_X4R4G4B4' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_A2B10G10R10' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_A8B8G8R8' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_X8B8G8R8' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_G16R16' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_A2R10G10B10' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_A16B16G16R16' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_A8P8' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_P8' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_L8' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_A8L8' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_A4L4' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_V8U8' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_L6V5U5' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_X8L8V8U8' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_Q8W8V8U8' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_V16U16' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_A2W10V10U10' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_UYVY' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_YUY2' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_DXT1' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_DXT2' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_DXT3' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_DXT4' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_DXT5' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_MULTI2_ARGB8' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_G8R8_G8B8' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_R8G8_B8G8' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_D16_LOCKABLE' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_D32' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_D15S1' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_D24S8' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_D24X8' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_D24X4S4' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_D16' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_L16' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_D32F_LOCKABLE' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_D24FS8' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_VERTEXDATA' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_INDEX16' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_INDEX32' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_Q16W16V16U16' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_R16F' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_G16R16F' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_A16B16G16R16F' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_R32F' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_G32R32F' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_A32B32G32R32F' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_CxV8U8' not handled in switch
d3dvideosink.c:471:11: error: enumeration value 'D3DFMT_FORCE_DWORD' not handled in switch
d3dvideosink.c:473:13: error: case value '808596553' not in enumerated type 'D3DFORMAT'
d3dvideosink.c:472:13: error: case value '842094169' not in enumerated type 'D3DFORMAT'
d3dvideosink.c: In function 'gst_d3dvideosink_create_shared_hidden_window':
d3dvideosink.c:533:14: error: 'GstD3DVideoSinkShared' has no member named 'd3ddev'
d3dvideosink.c: At top level:
d3dvideosink.c:66:21: error: 'shared_d3d_dev_lock' defined but not used
d3dvideosink.c:2205:1: error: 'gst_d3dvideosink_resize_swap_chain' defined but not used
d3dvideosink.c:1571:1: error: 'gst_d3dvideosink_wait_for_vsync' defined but not used
Comment 1 Raimo Järvi 2012-02-16 23:42:29 UTC
This seems to be the only error, the rest are warnings:

d3dvideosink.c:533:14: error: 'GstD3DVideoSinkShared' has no member named
'd3ddev'

Removing the check for d3ddev makes it compile, but the sink doesn't work at all. I only get a black screen and lots of these:

d3dvideosink d3dvideosink.c:1903:gst_d3dvideosink_stretch:<d3dvideosink0> StretchRect failed
Comment 2 Tim-Philipp Müller 2012-02-16 23:50:38 UTC
Could someone test if the version in the 0.10 branch compiles/works please ?
Comment 3 Raimo Järvi 2012-02-17 09:46:04 UTC
0.10 branch works fine.
Comment 4 David Schleef 2012-02-22 04:46:17 UTC
Duping with the original bug that caused the regression.

*** This bug has been marked as a duplicate of bug 656905 ***