Advertisement
Guest User

Untitled

a guest
Jul 12th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.49 KB | None | 0 0
  1. diff --git a/src/header.c b/src/header.c
  2. index 73661f4..410777e 100644
  3. --- a/src/header.c
  4. +++ b/src/header.c
  5. @@ -334,7 +334,7 @@ void mpeg2_start_dump(struct dump_driver_data *driver_data)
  6.  
  7.         print_indent(1, "{\n");
  8.         print_indent(2, ".index = %d,\n", index);
  9. -       print_indent(2, ".frame.mpeg2.header = {\n");
  10. +       print_indent(2, ".frame.mpeg2.slice_params = {\n");
  11.  }
  12.  
  13.  void mpeg2_stop_dump(struct dump_driver_data *driver_data)
  14. @@ -353,15 +353,15 @@ void mpeg2_header_dump(struct dump_driver_data *driver_data,
  15.         unsigned int index = driver_data->frame_index;
  16.  
  17.         if (parameters->picture_coding_type == 1)
  18. -               slice_type = "V4L2_SLICE_PCT_I";
  19. +               slice_type = "V4L2_MPEG2_SLICE_TYPE_I";
  20.         else if (parameters->picture_coding_type == 2)
  21. -               slice_type = "V4L2_SLICE_PCT_P";
  22. +               slice_type = "V4L2_MPEG2_SLICE_TYPE_P";
  23.         else if (parameters->picture_coding_type == 3)
  24. -               slice_type = "V4L2_SLICE_PCT_B";
  25. +               slice_type = "V4L2_MPEG2_SLICE_TYPE_B";
  26.         else
  27. -               slice_type = "V4L2_SLICE_PCT_INVALID";
  28. +               slice_type = "V4L2_MPEG2_SLICE_TYPE_INVALID";
  29.  
  30. -       print_indent(3, ".picture_coding_type = %s,\n", slice_type);
  31. +       print_indent(3, ".slice_type = %s,\n", slice_type);
  32.         print_indent(3, ".f_code = { %d, %d, %d, %d },\n",
  33.                      (parameters->f_code >> 12) & 0xf,
  34.                      (parameters->f_code >> 8) & 0xf,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement