summaryrefslogtreecommitdiffstats
path: root/sys/dshowdecwrapper/gstdshowvideodec.c
diff options
context:
space:
mode:
authorAlessandro Decina <alessandro@nnva.org>2008-07-08 17:41:55 +0000
committerMichael Smith <msmith@xiph.org>2008-07-08 17:41:55 +0000
commit50eafabdd5a1e73642122cc0febe539de2f32668 (patch)
tree2eb61b91406c785070bff4c77423a8b69cce8639 /sys/dshowdecwrapper/gstdshowvideodec.c
parent7399002e2bf8cdae51298ff427ded637655543e3 (diff)
downloadgst-plugins-bad-50eafabdd5a1e73642122cc0febe539de2f32668.tar.gz
gst-plugins-bad-50eafabdd5a1e73642122cc0febe539de2f32668.tar.bz2
gst-plugins-bad-50eafabdd5a1e73642122cc0febe539de2f32668.zip
sys/dshowdecwrapper/: Add AAC, AC3 to handled codecs.
Original commit message from CVS: Based on patch by: Alessandro Decina <alessandro@nnva.org> * sys/dshowdecwrapper/gstdshowaudiodec.c: * sys/dshowdecwrapper/gstdshowdecwrapper.h: * sys/dshowdecwrapper/gstdshowvideodec.c: Add AAC, AC3 to handled codecs. Fix handling of flush events. Improve debug/error output. Fix a number of typos in comments and variable names.
Diffstat (limited to 'sys/dshowdecwrapper/gstdshowvideodec.c')
-rw-r--r--sys/dshowdecwrapper/gstdshowvideodec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dshowdecwrapper/gstdshowvideodec.c b/sys/dshowdecwrapper/gstdshowvideodec.c
index c31bb945..812b32c4 100644
--- a/sys/dshowdecwrapper/gstdshowvideodec.c
+++ b/sys/dshowdecwrapper/gstdshowvideodec.c
@@ -978,7 +978,7 @@ gst_dshowvideodec_create_graph_and_filters (GstDshowVideoDec * vdec)
klass->entry->input_subtype,
klass->entry->output_majortype,
klass->entry->output_subtype,
- klass->entry->prefered_filter_substring, &vdec->decfilter)) {
+ klass->entry->preferred_filter_substring, &vdec->decfilter)) {
GST_ELEMENT_ERROR (vdec, STREAM, FAILED, ("Can't create an instance "
"of the decoder filter"), (NULL));
goto error;
@@ -1111,7 +1111,7 @@ dshow_vdec_register (GstPlugin * plugin)
video_dec_codecs[i].input_subtype,
video_dec_codecs[i].output_majortype,
video_dec_codecs[i].output_subtype,
- video_dec_codecs[i].prefered_filter_substring, NULL)) {
+ video_dec_codecs[i].preferred_filter_substring, NULL)) {
GST_CAT_DEBUG (dshowvideodec_debug, "Registering %s",
video_dec_codecs[i].element_name);