```
- media_type = gst_structure_get_name(gst_caps_get_structure(src_caps, 0));
- if (!(parsed_caps = gst_caps_new_empty_simple(media_type)))
goto out;
- gst_caps_set_simple(parsed_caps, "parsed", G_TYPE_BOOLEAN, true, NULL);
```
This doesn't work, because not all caps use "parsed" for this. For example, AAC uses "framed" instead.
And, like I said in 5255, I don't see how restricting the caps is necessary. What parser are you imagining would parse to the wrong format?
Working around the mpegaudioparse problem does not seem unreasonable to me, but I don't think doing it from the frontend makes sense at all. I'd also really rather not have specific workarounds in the code until the actual problem is understood.