Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gst-plugins-base
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
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
Sebastian Dröge
gst-plugins-base
Commits
abf9990e
Commit
abf9990e
authored
Sep 02, 2004
by
Scott Wheeler Wheeler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pre-C99 fixes
Original commit message from CVS: pre-C99 fixes
parent
fbd38aad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
ext/theora/theoradec.c
ext/theora/theoradec.c
+2
-1
ext/vorbis/vorbisparse.c
ext/vorbis/vorbisparse.c
+4
-3
No files found.
ext/theora/theoradec.c
View file @
abf9990e
...
...
@@ -392,6 +392,7 @@ theora_dec_src_event (GstPad * pad, GstEvent * event)
switch
(
GST_EVENT_TYPE
(
event
))
{
case
GST_EVENT_SEEK
:{
guint64
value
;
GstEvent
*
real_seek
;
/* we have to ask our peer to seek to time here as we know
* nothing about how to generate a granulepos from the src
...
...
@@ -406,7 +407,7 @@ theora_dec_src_event (GstPad * pad, GstEvent * event)
goto
error
;
/* then seek with time on the peer */
GstEvent
*
real_seek
=
gst_event_new_seek
(
real_seek
=
gst_event_new_seek
(
(
GST_EVENT_SEEK_TYPE
(
event
)
&
~
GST_SEEK_FORMAT_MASK
)
|
format
,
value
);
...
...
ext/vorbis/vorbisparse.c
View file @
abf9990e
...
...
@@ -103,6 +103,9 @@ static void
vorbis_parse_set_header_on_caps
(
GstVorbisParse
*
parse
,
GstCaps
*
caps
)
{
GstBuffer
*
buf1
,
*
buf2
,
*
buf3
;
GstStructure
*
structure
;
GValue
list
=
{
0
};
GValue
value
=
{
0
};
g_assert
(
parse
);
g_assert
(
parse
->
streamheader
);
...
...
@@ -115,9 +118,7 @@ vorbis_parse_set_header_on_caps (GstVorbisParse * parse, GstCaps * caps)
buf3
=
parse
->
streamheader
->
next
->
next
->
data
;
g_assert
(
buf3
);
GstStructure
*
structure
=
gst_caps_get_structure
(
caps
,
0
);
GValue
list
=
{
0
};
GValue
value
=
{
0
};
structure
=
gst_caps_get_structure
(
caps
,
0
);
/* mark buffers */
GST_BUFFER_FLAG_SET
(
buf1
,
GST_BUFFER_IN_CAPS
);
...
...
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