Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
56b02112
Commit
56b02112
authored
Feb 03, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dshow: build with mingw-w64
remove now meaningless very old mingw.org workarounds
parent
bb7509af
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
60 deletions
+22
-60
configure.ac
configure.ac
+1
-1
modules/access/dshow/access.h
modules/access/dshow/access.h
+0
-19
modules/access/dshow/filter.h
modules/access/dshow/filter.h
+0
-21
modules/access/dshow/vlc_dshow.h
modules/access/dshow/vlc_dshow.h
+21
-19
No files found.
configure.ac
View file @
56b02112
...
...
@@ -1774,7 +1774,7 @@ then
AC_CHECK_HEADERS(dshow.h,
[ VLC_ADD_PLUGIN([dshow])
VLC_ADD_CXXFLAGS([dshow],[])
VLC_ADD_LIBS([dshow],[-lole32 -loleaut32 -luuid
])
])
VLC_ADD_LIBS([dshow],[-lole32 -loleaut32 -luuid
-lstrmiids -lksuser])
])
AC_LANG_POP(C++)
fi
fi
...
...
modules/access/dshow/access.h
View file @
56b02112
...
...
@@ -27,25 +27,6 @@
*****************************************************************************/
using
namespace
std
;
#ifndef _MSC_VER
# include <wtypes.h>
# include <unknwn.h>
# include <ole2.h>
# include <limits.h>
# ifdef _WINGDI_
# undef _WINGDI_
# endif
# define _WINGDI_ 1
# define AM_NOVTABLE
# define _OBJBASE_H_
# undef _X86_
# ifndef _I64_MAX
# define _I64_MAX LONG_LONG_MAX
# endif
# define LONGLONG long long
#endif
#include "vlc_dshow.h"
#include <dshow.h>
typedef
struct
dshow_stream_t
dshow_stream_t
;
...
...
modules/access/dshow/filter.h
View file @
56b02112
...
...
@@ -29,27 +29,6 @@
#include <deque>
using
namespace
std
;
#ifndef _MSC_VER
# include <wtypes.h>
# include <unknwn.h>
# include <ole2.h>
# include <limits.h>
# ifdef _WINGDI_
# undef _WINGDI_
# endif
# define _WINGDI_ 1
# define AM_NOVTABLE
# define _OBJBASE_H_
# undef _X86_
# ifndef _I64_MAX
# define _I64_MAX LONG_LONG_MAX
# endif
# define LONGLONG long long
#endif
#include <dshow.h>
#include "vlc_dshow.h"
typedef
struct
VLCMediaSample
{
IMediaSample
*
p_sample
;
...
...
modules/access/dshow/vlc_dshow.h
View file @
56b02112
...
...
@@ -24,29 +24,30 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#ifndef VLC_DSHOW_H
#define VLC_DSHOW_H
#ifndef _MSC_VER
# include <wtypes.h>
# include <unknwn.h>
# include <ole2.h>
# include <limits.h>
# ifdef _WINGDI_
# undef _WINGDI_
# endif
# define _WINGDI_ 1
# define AM_NOVTABLE
# define _OBJBASE_H_
# undef _X86_
# ifndef _I64_MAX
# define _I64_MAX LONG_LONG_MAX
# endif
# define LONGLONG long long
#ifdef __MINGW32__
# include <_mingw.h>
#endif
#include <dshow.h>
#include <wtypes.h>
#include <unknwn.h>
#include <ole2.h>
#include <limits.h>
#include <strmif.h>
#include <ksmedia.h>
#include <ddraw.h>
#ifndef VLC_DSHOW_H
#define VLC_DSHOW_H
#ifdef __MINGW64_VERSION_MAJOR
#if __MINGW64_VERSION_MAJOR < 3
DEFINE_GUID
(
MEDIASUBTYPE_I420
,
0x30323449
,
0x0000
,
0x0010
,
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
);
#endif
#else
/* !__MINGW64_VERSION_MAJOR */
#include <dshow.h>
/*****************************************************************************
* DirectShow GUIDs.
...
...
@@ -374,4 +375,5 @@ DECLARE_INTERFACE_(IAMTVAudio, IUnknown)
STDMETHOD
(
UnRegisterNotificationCallBack
)
(
THIS_
IAMTunerNotification
*
);
};
#endif
/* __MINGW64_VERSION_MAJOR */
#endif
/* VLC_DSHOW_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment