gst_caps_set_simple (caps, "framerate", GST_TYPE_FRACTION, fr_num, fr_denom,
NULL);
+ if (params->width && params->height)
+ gst_caps_set_simple (caps, "width", G_TYPE_INT, params->width,
+ "height", G_TYPE_INT, params->height, NULL);
+
if (h263parse->state == GOT_HEADER) {
gst_caps_set_simple (caps,
"annex-d", G_TYPE_BOOLEAN, (params->features & H263_OPTION_UMV_MODE),
/* Fill in width/height based on format */
params->width = sizetable[params->format][0];
params->height = sizetable[params->format][1];
+ GST_DEBUG (" Picture width x height: %d x %d",
+ params->width, params->height);
/* Default PAR is 12/11 */
params->parnum = 12;