diff --git a/src/gstducatih264dec.c b/src/gstducatih264dec.c
index 324826c1eb3251417a771c7572fb3ebb5df0f593..88ebb578849971db3d8c98564d6ad8f87ce0e322 100644 (file)
--- a/src/gstducatih264dec.c
+++ b/src/gstducatih264dec.c
"framerate = (fraction)[ 0, max ];")
);
"framerate = (fraction)[ 0, max ];")
);
-/* GstDucatiVideDec vmethod implementations */
+/* GstDucatiVidDec vmethod implementations */
static void
gst_ducati_h264dec_update_buffer_size (GstDucatiVidDec * self)
static void
gst_ducati_h264dec_update_buffer_size (GstDucatiVidDec * self)
gint h = self->height;
/* calculate output buffer parameters: */
gint h = self->height;
/* calculate output buffer parameters: */
- self->padded_width = (w + (2 * PADX) + 127) & 0xFFFFFF80;
+ self->padded_width = ALIGN2 (w + (2 * PADX), 7);
self->padded_height = h + 4 * PADY;
self->min_buffers = MIN (16, 32768 / ((w / 16) * (h / 16))) + 3;
}
self->padded_height = h + 4 * PADY;
self->min_buffers = MIN (16, 32768 / ((w / 16) * (h / 16))) + 3;
}
gst_element_class_set_details_simple (element_class,
"DucatiH264Dec",
"Codec/Decoder/Video",
gst_element_class_set_details_simple (element_class,
"DucatiH264Dec",
"Codec/Decoder/Video",
- "Decodes video in H.264/AVC format with ducati",
+ "Decodes video in H.264/bytestream format with ducati",
"Rob Clark <rob@ti.com>");
gst_element_class_add_pad_template (element_class,
"Rob Clark <rob@ti.com>");
gst_element_class_add_pad_template (element_class,