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-good
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-good
Commits
692206d3
Commit
692206d3
authored
Jun 27, 2013
by
David Svensson Fors
Committed by
Wim Taymans
Jun 27, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtph264pay: avoid double buffer unmap on error
Fixes
https://bugzilla.gnome.org/show_bug.cgi?id=703171
parent
3289a296
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
gst/rtp/gstrtph264pay.c
gst/rtp/gstrtph264pay.c
+3
-1
No files found.
gst/rtp/gstrtph264pay.c
View file @
692206d3
...
...
@@ -556,10 +556,12 @@ gst_rtp_h264_pay_setcaps (GstRTPBasePayload * basepayload, GstCaps * caps)
data
+=
nal_size
;
size
-=
nal_size
;
}
gst_buffer_unmap
(
buffer
,
&
map
);
/* and update the caps with the collected data */
if
(
!
gst_rtp_h264_pay_set_sps_pps
(
basepayload
))
goto
set_sps_pps_failed
;
gst_buffer_unmap
(
buffer
,
&
map
);
}
else
{
GST_DEBUG_OBJECT
(
rtph264pay
,
"have bytestream h264"
);
}
...
...
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