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
6ee0c084
Commit
6ee0c084
authored
Aug 25, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/access/dshow/*: audio is now supported as well.
parent
7caa1250
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
262 additions
and
195 deletions
+262
-195
modules/access/dshow/dshow.cpp
modules/access/dshow/dshow.cpp
+255
-193
modules/access/dshow/filter.cpp
modules/access/dshow/filter.cpp
+7
-2
No files found.
modules/access/dshow/dshow.cpp
View file @
6ee0c084
This diff is collapsed.
Click to expand it.
modules/access/dshow/filter.cpp
View file @
6ee0c084
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* filter.c : DirectShow access module for vlc
* filter.c : DirectShow access module for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* Copyright (C) 2002 VideoLAN
* $Id: filter.cpp,v 1.
1 2003/08/24 11:17:39
gbazin Exp $
* $Id: filter.cpp,v 1.
2 2003/08/25 21:45:04
gbazin Exp $
*
*
* Author: Gildas Bazin <gbazin@netcourrier.com>
* Author: Gildas Bazin <gbazin@netcourrier.com>
*
*
...
@@ -57,6 +57,7 @@
...
@@ -57,6 +57,7 @@
*****************************************************************************/
*****************************************************************************/
const
GUID
CLSID_SystemDeviceEnum
=
{
0x62be5d10
,
0x60eb
,
0x11d0
,
{
0xbd
,
0x3b
,
0x00
,
0xa0
,
0xc9
,
0x11
,
0xce
,
0x86
}};
const
GUID
CLSID_SystemDeviceEnum
=
{
0x62be5d10
,
0x60eb
,
0x11d0
,
{
0xbd
,
0x3b
,
0x00
,
0xa0
,
0xc9
,
0x11
,
0xce
,
0x86
}};
const
GUID
CLSID_VideoInputDeviceCategory
=
{
0x860BB310
,
0x5D01
,
0x11d0
,{
0xBD
,
0x3B
,
0x00
,
0xA0
,
0xC9
,
0x11
,
0xCE
,
0x86
}};
const
GUID
CLSID_VideoInputDeviceCategory
=
{
0x860BB310
,
0x5D01
,
0x11d0
,{
0xBD
,
0x3B
,
0x00
,
0xA0
,
0xC9
,
0x11
,
0xCE
,
0x86
}};
const
GUID
CLSID_AudioInputDeviceCategory
=
{
0x33d9a762
,
0x90c8
,
0x11d0
,
{
0xbd
,
0x43
,
0x00
,
0xa0
,
0xc9
,
0x11
,
0xce
,
0x86
}};
const
GUID
IID_IPropertyBag
=
{
0x55272A00
,
0x42CB
,
0x11CE
,
{
0x81
,
0x35
,
0x00
,
0xAA
,
0x00
,
0x4B
,
0xB8
,
0x51
}};
const
GUID
IID_IPropertyBag
=
{
0x55272A00
,
0x42CB
,
0x11CE
,
{
0x81
,
0x35
,
0x00
,
0xAA
,
0x00
,
0x4B
,
0xB8
,
0x51
}};
const
GUID
IID_ICreateDevEnum
=
{
0x29840822
,
0x5b84
,
0x11d0
,
{
0xbd
,
0x3b
,
0x00
,
0xa0
,
0xc9
,
0x11
,
0xce
,
0x86
}};
const
GUID
IID_ICreateDevEnum
=
{
0x29840822
,
0x5b84
,
0x11d0
,
{
0xbd
,
0x3b
,
0x00
,
0xa0
,
0xc9
,
0x11
,
0xce
,
0x86
}};
const
GUID
IID_IFilterGraph
=
{
0x56a8689f
,
0x0ad4
,
0x11ce
,
{
0xb0
,
0x3a
,
0x00
,
0x20
,
0xaf
,
0x0b
,
0xa7
,
0x70
}};
const
GUID
IID_IFilterGraph
=
{
0x56a8689f
,
0x0ad4
,
0x11ce
,
{
0xb0
,
0x3a
,
0x00
,
0x20
,
0xaf
,
0x0b
,
0xa7
,
0x70
}};
...
@@ -94,6 +95,10 @@ const GUID MEDIASUBTYPE_UYVY = {0x59565955, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0
...
@@ -94,6 +95,10 @@ const GUID MEDIASUBTYPE_UYVY = {0x59565955, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0
const
GUID
MEDIASUBTYPE_Y211
=
{
0x31313259
,
0x0000
,
0x0010
,
{
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
}};
const
GUID
MEDIASUBTYPE_Y211
=
{
0x31313259
,
0x0000
,
0x0010
,
{
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
}};
const
GUID
MEDIASUBTYPE_YV12
=
{
0x32315659
,
0x0000
,
0x0010
,
{
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
}};
const
GUID
MEDIASUBTYPE_YV12
=
{
0x32315659
,
0x0000
,
0x0010
,
{
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
}};
const
GUID
MEDIATYPE_Audio
=
{
0x73647561
,
0x0000
,
0x0010
,
{
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
}};
const
GUID
FORMAT_WaveFormatEx
=
{
0x05589f81
,
0xc356
,
0x11ce
,
{
0xbf
,
0x01
,
0x00
,
0xaa
,
0x00
,
0x55
,
0x59
,
0x5a
}};
const
GUID
MEDIASUBTYPE_PCM
=
{
0x00000001
,
0x0000
,
0x0010
,
{
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
}};
void
WINAPI
FreeMediaType
(
AM_MEDIA_TYPE
&
mt
)
void
WINAPI
FreeMediaType
(
AM_MEDIA_TYPE
&
mt
)
{
{
if
(
mt
.
cbFormat
!=
0
)
if
(
mt
.
cbFormat
!=
0
)
...
@@ -376,7 +381,7 @@ STDMETHODIMP CapturePin::GetAllocatorRequirements( ALLOCATOR_PROPERTIES *pProps
...
@@ -376,7 +381,7 @@ STDMETHODIMP CapturePin::GetAllocatorRequirements( ALLOCATOR_PROPERTIES *pProps
STDMETHODIMP
CapturePin
::
Receive
(
IMediaSample
*
pSample
)
STDMETHODIMP
CapturePin
::
Receive
(
IMediaSample
*
pSample
)
{
{
#ifdef DEBUG_DSHOW
#ifdef DEBUG_DSHOW
msg_Dbg
(
p_input
,
"CapturePin::Receive"
);
//
msg_Dbg( p_input, "CapturePin::Receive" );
#endif
#endif
//pSample->AddRef();
//pSample->AddRef();
...
...
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