mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
h264parse: Remove unused arguments
This commit is contained in:
parent
1ea21ad922
commit
95134cfda8
1 changed files with 2 additions and 3 deletions
|
@ -1154,8 +1154,7 @@ gst_h264_parse_process_nal (GstH264Parse * h264parse, GstH264NalUnit * nalu)
|
|||
/* caller guarantees at least 2 bytes of nal payload for each nal
|
||||
* returns TRUE if next_nal indicates that nal terminates an AU */
|
||||
static inline gboolean
|
||||
gst_h264_parse_collect_nal (GstH264Parse * h264parse, const guint8 * data,
|
||||
guint size, GstH264NalUnit * nalu)
|
||||
gst_h264_parse_collect_nal (GstH264Parse * h264parse, GstH264NalUnit * nalu)
|
||||
{
|
||||
GstH264NalUnitType nal_type = nalu->type;
|
||||
gboolean complete;
|
||||
|
@ -1488,7 +1487,7 @@ gst_h264_parse_handle_frame (GstBaseParse * parse,
|
|||
GST_DEBUG_OBJECT (h264parse, "%p complete nal found. Off: %u, Size: %u",
|
||||
data, nalu.offset, nalu.size);
|
||||
|
||||
if (gst_h264_parse_collect_nal (h264parse, data, size, &nalu)) {
|
||||
if (gst_h264_parse_collect_nal (h264parse, &nalu)) {
|
||||
h264parse->aud_needed = TRUE;
|
||||
/* complete current frame, if it exist */
|
||||
if (current_off > 0) {
|
||||
|
|
Loading…
Reference in a new issue