Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
97393cd5
Commit
97393cd5
authored
Nov 10, 2010
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Nov 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Fix playing .flv and realmedia files.
parent
bdde3f1a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
gstdemux.c
dlls/winegstreamer/gstdemux.c
+1
-10
No files found.
dlls/winegstreamer/gstdemux.c
View file @
97393cd5
...
@@ -757,12 +757,6 @@ static void init_new_decoded_pad(GstElement *bin, GstPad *pad, gboolean last, GS
...
@@ -757,12 +757,6 @@ static void init_new_decoded_pad(GstElement *bin, GstPad *pad, gboolean last, GS
static
void
existing_new_pad
(
GstElement
*
bin
,
GstPad
*
pad
,
gboolean
last
,
GSTImpl
*
This
)
{
static
void
existing_new_pad
(
GstElement
*
bin
,
GstPad
*
pad
,
gboolean
last
,
GSTImpl
*
This
)
{
int
x
;
int
x
;
GstCaps
*
caps
;
GstStructure
*
arg
;
const
char
*
typename
,
*
ownname
;
caps
=
gst_pad_get_caps_reffed
(
pad
);
arg
=
gst_caps_get_structure
(
caps
,
0
);
typename
=
gst_structure_get_name
(
arg
);
if
(
gst_pad_is_linked
(
pad
))
if
(
gst_pad_is_linked
(
pad
))
return
;
return
;
...
@@ -777,10 +771,7 @@ static void existing_new_pad(GstElement *bin, GstPad *pad, gboolean last, GSTImp
...
@@ -777,10 +771,7 @@ static void existing_new_pad(GstElement *bin, GstPad *pad, gboolean last, GSTImp
for
(
x
=
0
;
x
<
This
->
cStreams
;
++
x
)
{
for
(
x
=
0
;
x
<
This
->
cStreams
;
++
x
)
{
GSTOutPin
*
pin
=
This
->
ppPins
[
x
];
GSTOutPin
*
pin
=
This
->
ppPins
[
x
];
if
(
!
pin
->
their_src
)
{
if
(
!
pin
->
their_src
)
{
caps
=
gst_pad_get_caps_reffed
(
pin
->
my_sink
);
if
(
gst_pad_link
(
pad
,
pin
->
my_sink
)
>=
0
)
{
arg
=
gst_caps_get_structure
(
caps
,
0
);
ownname
=
gst_structure_get_name
(
arg
);
if
(
!
strcmp
(
typename
,
ownname
)
&&
gst_pad_link
(
pad
,
pin
->
my_sink
)
>=
0
)
{
pin
->
their_src
=
pad
;
pin
->
their_src
=
pad
;
gst_segment_init
(
pin
->
segment
,
GST_FORMAT_TIME
);
gst_segment_init
(
pin
->
segment
,
GST_FORMAT_TIME
);
gst_object_ref
(
pin
->
their_src
);
gst_object_ref
(
pin
->
their_src
);
...
...
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