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
gst-plugins-good
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
Jakub Adam
gst-plugins-good
Commits
4957cc74
Commit
4957cc74
authored
Aug 08, 2015
by
Sebastian Dröge
🍵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtpvorbispay: If flushing a packet failed, go out of the loop immediately
parent
983f57dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
gst/rtp/gstrtpvorbispay.c
gst/rtp/gstrtpvorbispay.c
+6
-1
No files found.
gst/rtp/gstrtpvorbispay.c
View file @
4957cc74
...
...
@@ -629,6 +629,9 @@ gst_rtp_vorbis_pay_payload_buffer (GstRtpVorbisPay * rtpvorbispay, guint8 VDT,
if
(
flush
)
ret
=
gst_rtp_vorbis_pay_flush_packet
(
rtpvorbispay
);
if
(
ret
!=
GST_FLOW_OK
)
goto
done
;
/* create new packet if we must */
if
(
!
rtpvorbispay
->
packet
)
{
gst_rtp_vorbis_pay_init_packet
(
rtpvorbispay
,
VDT
,
timestamp
);
...
...
@@ -698,11 +701,13 @@ gst_rtp_vorbis_pay_payload_buffer (GstRtpVorbisPay * rtpvorbispay, guint8 VDT,
if
(
duration
!=
GST_CLOCK_TIME_NONE
)
rtpvorbispay
->
payload_duration
+=
duration
;
}
}
while
(
size
);
}
while
(
size
&&
ret
==
GST_FLOW_OK
);
if
(
rtp
.
buffer
)
gst_rtp_buffer_unmap
(
&
rtp
);
done:
return
ret
;
}
...
...
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