gst_flac_tag_sink_event (GstPad * pad, GstEvent * event)
{
gboolean ret;
- GstFlacTag *tag;
-
- tag = GST_FLAC_TAG (GST_PAD_PARENT (pad));
switch (GST_EVENT_TYPE (event)) {
default:
gint lines, v_samp[3];
guchar *base[3], *last[3];
gint stride[3];
- guint width, height;
+ guint height;
line[0] = y;
line[1] = u;
if (G_UNLIKELY (v_samp[0] > 2 || v_samp[1] > 2 || v_samp[2] > 2))
goto format_not_supported;
- width = GST_VIDEO_FRAME_WIDTH (frame);
height = GST_VIDEO_FRAME_HEIGHT (frame);
for (i = 0; i < 3; i++) {
{
GstFlowReturn ret;
GstJpegEnc *jpegenc;
- guint height, width;
+ guint height;
guchar *base[3], *end[3];
guint stride[3];
gint i, j, k;
goto invalid_frame;
height = GST_VIDEO_FRAME_HEIGHT (&frame);
- width = GST_VIDEO_FRAME_WIDTH (&frame);
GST_LOG_OBJECT (jpegenc, "got buffer of %lu bytes",
gst_buffer_get_size (buf));