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
dd41036a
Commit
dd41036a
authored
Sep 09, 2011
by
Ramiro Polla
Committed by
Stefano Sabatini
Sep 16, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dshow: cleanup internal references on capture interface
Signed-off-by:
Stefano Sabatini
<
stefasab@gmail.com
>
parent
0b951d10
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
dshow_enumpins.c
libavdevice/dshow_enumpins.c
+7
-1
dshow_filter.c
libavdevice/dshow_filter.c
+7
-1
No files found.
libavdevice/dshow_enumpins.c
View file @
dd41036a
...
@@ -94,6 +94,12 @@ libAVEnumPins_Setup(libAVEnumPins *this, libAVPin *pin, libAVFilter *filter)
...
@@ -94,6 +94,12 @@ libAVEnumPins_Setup(libAVEnumPins *this, libAVPin *pin, libAVFilter *filter)
return
1
;
return
1
;
}
}
static
int
libAVEnumPins_Cleanup
(
libAVEnumPins
*
this
)
{
libAVFilter_Release
(
this
->
filter
);
return
1
;
}
DECLARE_CREATE
(
libAVEnumPins
,
libAVEnumPins_Setup
(
this
,
pin
,
filter
),
DECLARE_CREATE
(
libAVEnumPins
,
libAVEnumPins_Setup
(
this
,
pin
,
filter
),
libAVPin
*
pin
,
libAVFilter
*
filter
)
libAVPin
*
pin
,
libAVFilter
*
filter
)
DECLARE_DESTROY
(
libAVEnumPins
,
nothing
)
DECLARE_DESTROY
(
libAVEnumPins
,
libAVEnumPins_Cleanup
)
libavdevice/dshow_filter.c
View file @
dd41036a
...
@@ -191,6 +191,12 @@ libAVFilter_Setup(libAVFilter *this, void *priv_data, void *callback,
...
@@ -191,6 +191,12 @@ libAVFilter_Setup(libAVFilter *this, void *priv_data, void *callback,
return
1
;
return
1
;
}
}
static
int
libAVFilter_Cleanup
(
libAVFilter
*
this
)
{
libAVPin_Release
(
this
->
pin
);
return
1
;
}
DECLARE_CREATE
(
libAVFilter
,
libAVFilter_Setup
(
this
,
priv_data
,
callback
,
type
),
DECLARE_CREATE
(
libAVFilter
,
libAVFilter_Setup
(
this
,
priv_data
,
callback
,
type
),
void
*
priv_data
,
void
*
callback
,
enum
dshowDeviceType
type
)
void
*
priv_data
,
void
*
callback
,
enum
dshowDeviceType
type
)
DECLARE_DESTROY
(
libAVFilter
,
nothing
)
DECLARE_DESTROY
(
libAVFilter
,
libAVFilter_Cleanup
)
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