Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gst-plugins-base
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
George Kiagiadakis
gst-plugins-base
Commits
418760cf
Commit
418760cf
authored
Apr 17, 2009
by
Tim-Philipp Müller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtspconnection: don't use GLib-2.16 API, we require only 2.14
Fixes #579267.
parent
32904de5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
gst-libs/gst/rtsp/gstrtspconnection.c
gst-libs/gst/rtsp/gstrtspconnection.c
+5
-1
No files found.
gst-libs/gst/rtsp/gstrtspconnection.c
View file @
418760cf
...
...
@@ -2808,9 +2808,12 @@ static void
gst_rtsp_source_finalize
(
GSource
*
source
)
{
GstRTSPWatch
*
watch
=
(
GstRTSPWatch
*
)
source
;
gpointer
rtsp_rec
;
build_reset
(
&
watch
->
builder
);
while
((
rtsp_rec
=
g_async_queue_try_pop
(
watch
->
messages
)))
gst_rtsp_rec_free
(
rtsp_rec
);
g_async_queue_unref
(
watch
->
messages
);
watch
->
messages
=
NULL
;
...
...
@@ -2862,7 +2865,8 @@ gst_rtsp_watch_new (GstRTSPConnection * conn,
result
->
conn
=
conn
;
result
->
builder
.
state
=
STATE_START
;
result
->
messages
=
g_async_queue_new_full
(
gst_rtsp_rec_free
);
/* FIXME: use g_async_queue_new_full() once we depend on GLib >= 2.16 */
result
->
messages
=
g_async_queue_new
();
result
->
readfd
.
fd
=
-
1
;
result
->
writefd
.
fd
=
-
1
;
...
...
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