mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
declarations before code
Original commit message from CVS: declarations before code
This commit is contained in:
parent
96fd3b4548
commit
25a70411d2
1 changed files with 1 additions and 3 deletions
|
@ -929,9 +929,6 @@ gst_vorbisenc_chain (GstPad * pad, GstBuffer * buffer)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!vorbisenc->header_sent) {
|
if (!vorbisenc->header_sent) {
|
||||||
GST_DEBUG_OBJECT (vorbisenc, "creating and sending header packets");
|
|
||||||
//gint result;
|
|
||||||
|
|
||||||
/* Vorbis streams begin with three headers; the initial header (with
|
/* Vorbis streams begin with three headers; the initial header (with
|
||||||
most of the codec setup parameters) which is mandated by the Ogg
|
most of the codec setup parameters) which is mandated by the Ogg
|
||||||
bitstream spec. The second header holds any comment fields. The
|
bitstream spec. The second header holds any comment fields. The
|
||||||
|
@ -944,6 +941,7 @@ gst_vorbisenc_chain (GstPad * pad, GstBuffer * buffer)
|
||||||
GstBuffer *buf1, *buf2, *buf3;
|
GstBuffer *buf1, *buf2, *buf3;
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
|
|
||||||
|
GST_DEBUG_OBJECT (vorbisenc, "creating and sending header packets");
|
||||||
gst_vorbisenc_set_metadata (vorbisenc);
|
gst_vorbisenc_set_metadata (vorbisenc);
|
||||||
vorbis_analysis_headerout (&vorbisenc->vd, &vorbisenc->vc, &header,
|
vorbis_analysis_headerout (&vorbisenc->vd, &vorbisenc->vc, &header,
|
||||||
&header_comm, &header_code);
|
&header_comm, &header_code);
|
||||||
|
|
Loading…
Reference in a new issue