Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
bc6f84ff
Commit
bc6f84ff
authored
May 06, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avdevice/dshow_capture: avoid #ifdef, use ff_dlog() for dshowdebug()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
223a8598
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
dshow_capture.h
libavdevice/dshow_capture.h
+3
-5
No files found.
libavdevice/dshow_capture.h
View file @
bc6f84ff
...
@@ -33,6 +33,8 @@
...
@@ -33,6 +33,8 @@
#include <dshow.h>
#include <dshow.h>
#include <dvdmedia.h>
#include <dvdmedia.h>
#include "libavcodec/internal.h"
/* EC_DEVICE_LOST is not defined in MinGW dshow headers. */
/* EC_DEVICE_LOST is not defined in MinGW dshow headers. */
#ifndef EC_DEVICE_LOST
#ifndef EC_DEVICE_LOST
#define EC_DEVICE_LOST 0x1f
#define EC_DEVICE_LOST 0x1f
...
@@ -44,12 +46,8 @@ void ff_print_AUDIO_STREAM_CONFIG_CAPS(const AUDIO_STREAM_CONFIG_CAPS *caps);
...
@@ -44,12 +46,8 @@ void ff_print_AUDIO_STREAM_CONFIG_CAPS(const AUDIO_STREAM_CONFIG_CAPS *caps);
void
ff_print_AM_MEDIA_TYPE
(
const
AM_MEDIA_TYPE
*
type
);
void
ff_print_AM_MEDIA_TYPE
(
const
AM_MEDIA_TYPE
*
type
);
void
ff_printGUID
(
const
GUID
*
g
);
void
ff_printGUID
(
const
GUID
*
g
);
#if DSHOWDEBUG
extern
const
AVClass
*
ff_dshow_context_class_ptr
;
extern
const
AVClass
*
ff_dshow_context_class_ptr
;
#define dshowdebug(...) av_log(&ff_dshow_context_class_ptr, AV_LOG_DEBUG, __VA_ARGS__)
#define dshowdebug(...) ff_dlog(&ff_dshow_context_class_ptr, __VA_ARGS__)
#else
#define dshowdebug(...)
#endif
static
inline
void
nothing
(
void
*
foo
)
static
inline
void
nothing
(
void
*
foo
)
{
{
...
...
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