GNOME Bugzilla – Bug 119036
mp1videoparse needs a fix
Last modified: 2004-12-22 21:47:04 UTC
trying this pipeline: filesrc location=any.mpg ! mp1videoparse ! udpsink i get this error: ERROR: /pipeline0/mp1videoparse0: mp1videoparse: failed to negotiate a new format ERROR scheduler( 1571) gstoptimalscheduler.c(2051):gst_opt_scheduler_iterate: [GstOptScheduler@0x80995b0] in error state a caps-nego problem between mp1videoparse and udpsink.
_parse_seq() receives a buffer that is not the data that came after he head as is being parsed in _valid_sync(). This means that it basically parses random data as width/height/fps/idx. The result is that the resulting width/height/... values are bogus, fall outside the range allowed by the template caps and capsnego fails. Someone needs to fix mpeg1videoparse to push the correct buffer to _parse_seq(). :).
Fixed.