Skip to content
  • David Schleef's avatar
    Global change from "caps2" to "caps". Script is: #!/bin/sh find . -name... · 63ee7366
    David Schleef authored
    Global change from "caps2" to "caps".  Script is: #!/bin/sh find . -name '*.[chy]' -exec perl -i -p \
    
    Original commit message from CVS:
    Global change from "caps2" to "caps".  Script is:
    #!/bin/sh
    
    find . -name '*.[chy]' -exec perl -i -p \
    -e 's/gst_static_caps2_/gst_static_caps_/g;\
    s/GST_CAPS2_/GST_CAPS_/g;\
    s/gst_caps2_/gst_caps_/g;\
    s/GstCaps2/GstCaps/g;\
    s/GstStaticCaps2/GstStaticCaps/g;\
    s/GST_STATIC_CAPS2_/GST_STATIC_CAPS_/g;\
    s/GST_TYPE_CAPS2/GST_TYPE_CAPS/g;\
    s/gst_caps_get_nth_cap/gst_caps_get_structure/g;\
    s/gst_caps_get_n_structures/gst_caps_get_size/g;\
    s/gst_caps_append_cap/gst_caps_append_structure/g;\
    s/GST_CAPS2_/GST_CAPS_/g;' \
    {} \;
    63ee7366